diff --git a/src/bundle/Resources/config/api_platform.yml b/src/bundle/Resources/config/api_platform.yml index f0385f1c..cccb71de 100644 --- a/src/bundle/Resources/config/api_platform.yml +++ b/src/bundle/Resources/config/api_platform.yml @@ -30,6 +30,14 @@ services: Ibexa\Bundle\Rest\ApiPlatform\ClassNameResourceNameCollectionFactory: ~ + # OpenAPI Command + + ibexa.api_platform.openapi.command: + parent: api_platform.openapi.command + arguments: + index_0: '@ibexa.api_platform.ibexa_openapi.factory' + tags: + - { name: 'console.command', command: 'ibexa:openapi' } # Collecting schemas