mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Doc generation for the specific API version (error fix)
This commit is contained in:
parent
84a4b0200f
commit
c6db0af5d4
@ -63,7 +63,7 @@ class DumpCommand extends ContainerAwareCommand
|
||||
$this->getContainer()->set('request', new Request(), 'request');
|
||||
}
|
||||
|
||||
$extractor = $this->getContainer()->get('nelmio_api_doc.extractor.api_doc_extractor')
|
||||
$extractor = $this->getContainer()->get('nelmio_api_doc.extractor.api_doc_extractor');
|
||||
$extractedDoc = $input->hasOption('api-version') ?
|
||||
$extractor->allForVersion($input->getOption('api-version')) :
|
||||
$extractor->all();
|
||||
|
Loading…
x
Reference in New Issue
Block a user