Skip to content
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

Link & Unlink verbs run a ContextErrorException #1290

Closed
burgesQ opened this issue Apr 11, 2018 · 2 comments
Closed

Link & Unlink verbs run a ContextErrorException #1290

burgesQ opened this issue Apr 11, 2018 · 2 comments

Comments

@burgesQ
Copy link

burgesQ commented Apr 11, 2018

Hi,

I'm running a sf 3.4 application.
Since I migrate nelmio to 3.x if I try to doc a method that use the verbs link or unlink (@FOS\RestBundle\Controller\Annotations\Unlink) the web page conclude in a "Notice : undefined index: [link|unlink]".
Is that normal ? Should I stop using those verbs if I want to doc my route ?

@notFloran
Copy link
Contributor

Hi,

It seems that OpenAPI doesn't supports the LINK and UNLINK methods. See OAI/OpenAPI-Specification#480

I made a PR to fix that, see #1294

@burgesQ
Copy link
Author

burgesQ commented Apr 12, 2018

Thanks :)

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

No branches or pull requests

2 participants