Merge pull request #1225 from nelmio/GuilhemN-patch-2

Fix Api-Platform support
This commit is contained in:
Guilhem N 2018-02-13 09:33:47 +01:00 committed by GitHub
commit b5f64ea9cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,9 @@
<service id="nelmio_api_doc.describers.api_platform.documentation" class="ApiPlatform\Core\Documentation\Documentation" public="false">
<factory service="api_platform.action.documentation" method="__invoke" />
<argument type="service">
<service class="Symfony\Component\HttpFoundation\Request" />
</argument>
</service>
</services>