Module: Swagger::V1::DefaultResponses::NotFound
- Defined in:
- app/docs/swagger/v1/default_responses/not_found.rb
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'app/docs/swagger/v1/default_responses/not_found.rb', line 6 def self.extended(base) base.response 404 do key :description, "Запрашиваемый ресурс не найден" schema do key :'$ref', :'Swagger::V1::::Models::Apress::Api::SimpleError' end end end |