Skip to content

Commit 3d3143d

Browse files
authored
IBX-8291: Implemented command to generate Open API specification (#155)
1 parent e4b1fc5 commit 3d3143d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/bundle/Resources/config/api_platform.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,12 @@ services:
5858
- '@@IbexaRestBundle/Resources/api_platform/schemas/user/token_schemas.yml'
5959
- '@@IbexaRestBundle/Resources/api_platform/schemas/user/user_groups_schemas.yml'
6060
- '@@IbexaRestBundle/Resources/api_platform/schemas/user/users_schemas.yml'
61+
62+
# OpenAPI Command
63+
64+
ibexa.api_platform.openapi.command:
65+
parent: api_platform.openapi.command
66+
arguments:
67+
index_0: '@ibexa.api_platform.ibexa_openapi.factory'
68+
tags:
69+
- { name: 'console.command', command: 'ibexa:openapi' }

0 commit comments

Comments
 (0)