Module: Swagger::V1::DefaultResponses::BadRequest

Defined in:
app/docs/swagger/v1/default_responses/bad_request.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/bad_request.rb', line 6

def self.extended(base)
  base.response 400 do
    key :description, "Переданные параметры не могут быть обработаны"
    schema do
      key :'$ref', :'Swagger::V1::::Models::Apress::Api::UnprocessableError'
    end
  end
end