We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
desc
Old style desc works well for me
desc 'Get list of user accounts', is_array: true, success: Entities::Account
But since passing it via hash is deprecated I've tried to pass it via block and it didn't work for me
desc 'Get list of user accounts' do success Entities::Account is_array true end
same for this
desc 'Get list of user accounts', is_array: true do success Entities::Account end
How array response should be described in documentation using block ?
The text was updated successfully, but these errors were encountered:
related to #706
Sorry, something went wrong.
Add a fail spec for ruby-grape#705
7a1bd79
Support more options in desc block
795a7fa
Fix ruby-grape/grape-swagger#705. Support `summary`, `hidden`, `deprecated`, `is_array`, `nickname`, `produces`, `consumes`, `tags` options in desc block.
closed in ruby-grape/grape#1791
No branches or pull requests
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: