Skip to content

Commit e34d477

Browse files
rendler-denissoyuka
authored andcommitted
add missing parameter for swagger normalizer
add default for the $defaultContext parameter so that swagger.versions parameter is properly sent to the swagger normalizer
1 parent f79e301 commit e34d477

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Bridge/Symfony/Bundle/Resources/config/swagger.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<argument>%api_platform.formats%</argument>
3232
<argument>%api_platform.collection.pagination.client_enabled%</argument>
3333
<argument>%api_platform.collection.pagination.enabled_parameter_name%</argument>
34+
<argument type="collection" />
3435
<argument>%api_platform.swagger.versions%</argument>
3536
<tag name="serializer.normalizer" priority="-790" />
3637
</service>

0 commit comments

Comments
 (0)