-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello, Would it be possible to improve the documentation of selency/openapi for use in Symfony 6.3 for example.
I would like to implement this, but I don't know how the implementation should do this.
On the first example the namespaces do not correspond to the folder where the file must be created.
Also in the first example how do we access $this->openApi ?
public function configure(DocumentationConfigurator $doc): void
{
$doc->info($this->openApi->info()
->title('Monolith API')
->description(file_get_contents(__DIR__.'/Resources/info_description.md'))
->contact(name: 'API support', url: 'https://symfony.com', email: '[email protected]')
->specificationExtension('x-logo', [
'url' => 'https://symfony.com/logos/symfony_black_02.png',
'altText' => 'Symfony logo',
])
->license('MIT')
);
}
Thank you and thank you for this component
Metadata
Metadata
Assignees
Labels
No labels