-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
is_array is not supported if we pass options as a block to desc
#1789
Labels
Comments
Probably just an omission, try writing a spec/fix? |
@dblock let me try to make it |
related to ruby-grape/grape-swagger#705 |
@ysv Do you mind I try it? |
@darren987469 you are welcome |
darren987469
added a commit
to darren987469/grape
that referenced
this issue
Sep 15, 2018
Fix ruby-grape#1789. Support `summary`, `hidden`, `deprecated`, `is_array`, `nickname`, `produces`, `consumes`, `tags` options in desc block.
darren987469
added a commit
to darren987469/grape
that referenced
this issue
Sep 15, 2018
…y`, `hidden`, `deprecated`, `is_array`, `nickname`,`produces`, `consumes`, `tags` options in desc block.
dblock
pushed a commit
that referenced
this issue
Sep 16, 2018
* Support more options in desc blockFix #1789.Support `summary`, `hidden`, `deprecated`, `is_array`, `nickname`,`produces`, `consumes`, `tags` options in desc block. * Fix rubocop and update CHANGELOG * Refine documentation [ci skip] Add real mime type in README. Add options documentation in `desc`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Old style desc works well for me
But since passing it via hash is deprecated I've tried to pass it via block and it didn't work for me
same for this
How array response should be described in documentation using block ?
The text was updated successfully, but these errors were encountered: