Skip to content

Commit

Permalink
Set the decoration priority of the OpenApiExtender to -10, to make su…
Browse files Browse the repository at this point in the history
…re it is always executed last (and overwrites docs generated by other bundles). (#8)
  • Loading branch information
TimoBakx authored Apr 18, 2023
1 parent 6b7df12 commit 3977e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/config/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<service
id="linku_api_documentation.extensions.open_api_extender"
class="Linku\ApiDocumentationBundle\Extensions\OpenApiExtender"
decorates="api_platform.openapi.factory">
decorates="api_platform.openapi.factory"
decoration-priority="-10">
<argument key="$decorated" type="service" id="linku_api_documentation.extensions.open_api_extender.inner" />
<argument key="$sections" type="service" id="linku_api_documentation.sections.sections" />
<argument key="$extensions" type="tagged_iterator" tag="linku_api_documentation.extensions.extension" />
Expand Down

0 comments on commit 3977e45

Please sign in to comment.