Old style desc works well for me ```ruby desc 'Get list of user accounts', is_array: true, success: Entities::Account ``` But since passing it via hash is [deprecated](https://github.com/ruby-grape/grape/blob/master/lib/grape/dsl/desc.rb#L50) I've tried to pass it via block and it didn't work for me ```ruby desc 'Get list of user accounts' do success Entities::Account is_array true end ``` same for this ```ruby desc 'Get list of user accounts', is_array: true do success Entities::Account end ``` How array response should be described in documentation using block ?
Activity
ysv commentedon Sep 12, 2018
related to #706
desc
ruby-grape/grape#1789Add a fail spec for ruby-grape#705
Support more options in desc block
ysv commentedon Sep 17, 2018
closed in ruby-grape/grape#1791