We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b9f67 commit 8886968Copy full SHA for 8886968
lib/grape-swagger/endpoint.rb
@@ -211,7 +211,6 @@ def response_object(route)
211
next if memo.key?(204)
212
next unless !response_model.start_with?('Swagger_doc') && (@definitions[response_model] || value[:model])
213
214
- @definitions[response_model][:description] = description_object(route)
215
# TODO: proof that the definition exist, if model isn't specified
216
reference = { '$ref' => "#/definitions/#{response_model}" }
217
memo[value[:code]][:schema] = if route.options[:is_array] && value[:code] < 300
0 commit comments