Class: SwaggerApi::Operations::Show
- Defined in:
- lib/swagger_api/operations/show.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#create, #model, #model_name, #parameters, #readable_action, #request_body, #responses, #success_response
Instance Method Details
#error_responses ⇒ Object
6 7 8 9 10 |
# File 'lib/swagger_api/operations/show.rb', line 6 def error_responses super.reject do |error_response| %w[422].include?(error_response.keys.first) end end |