Skip to content

swagger/openapi bug with PropertyFilter use ?properties[]= not ?properties= #2783

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
May 10, 2019

Conversation

weaverryan
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets See #2370 (comment)
License MIT
Doc PR not needed

Found when making the SymfonyCasts tutorial :). The Swagger/OpenAPI description of the filter was awesome - it's just missing the [] when you actually try it.

Cheers!

@weaverryan weaverryan changed the title Fixing swagger/openapi bug: use ?properties[]= not ?properties= swagger/openapi bug with PropertyFilter use ?properties[]= not ?properties= May 9, 2019
@antograssiot
Copy link
Contributor

Thanks @weaverryan

@antograssiot antograssiot merged commit c4623c3 into api-platform:2.4 May 10, 2019
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