Skip to content

Swagger ApiProperty variable should not be quoted #348

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 1 commit into from
Nov 22, 2017
Merged

Swagger ApiProperty variable should not be quoted #348

merged 1 commit into from
Nov 22, 2017

Conversation

viviengaetan
Copy link
Contributor

When copying/pasting the annotation from the current doc we got [Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_IDENTIFIER, got 'attributes' at position 48 in property AppBundle\Entity\UserPortfolioAudit::$pfType. because attributes should not be quoted.

When copying/pasting the annotation from the current doc we got ```[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_IDENTIFIER, got 'attributes' at position 48 in property AppBundle\Entity\UserPortfolioAudit::$pfType.```
@dunglas dunglas merged commit f6e5119 into api-platform:2.1 Nov 22, 2017
@dunglas
Copy link
Member

dunglas commented Nov 22, 2017

Good catch, thanks @viviengaetan

@viviengaetan viviengaetan deleted the viviengaetan-patch-1 branch November 22, 2017 13:29
@viviengaetan
Copy link
Contributor Author

No problem - anyway we are glad to see a new documentation, one of our developer was grumpy when reading the old one ;)

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.

2 participants