Skip to content

Fix swagger.md #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 16, 2017
Merged

Fix swagger.md #267

merged 2 commits into from
Sep 16, 2017

Conversation

sryabov
Copy link
Contributor

@sryabov sryabov commented Sep 14, 2017

Fix decorator service declaration in swagger.md

Fix decorator service declaration in swagger.md
@reminec
Copy link

reminec commented Sep 16, 2017

@sryabov I can't decorate Swagger documentation with following previous guide or this current revision.

See the issue here : api-platform/api-platform#414

I miss something ?

core/swagger.md Outdated
@@ -19,7 +19,8 @@ services:

'AppBundle\Swagger\SwaggerDecorator':
decorates: 'api_platform.swagger.normalizer.documentation'
arguments: [ '@app.swagger.swagger_decorator.inner' ]
arguments: [ '@AppBundle\Swagger\SwaggerDecorator.inner' ]
public: false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dunglas dunglas merged commit ea2fcdb into api-platform:master Sep 16, 2017
@dunglas
Copy link
Member

dunglas commented Sep 16, 2017

Thanks @sryabov

@dunglas dunglas mentioned this pull request Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants