Closed
Description
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 ?
Metadata
Metadata
Assignees
Labels
No labels