Module: Swagger::V1::DefaultResponses::Unauthorized
- Defined in:
- app/docs/swagger/v1/default_responses/unauthorized.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/unauthorized.rb', line 6 def self.extended(base) base.response 403 do key :description, "Нет доступа к ресурсу" schema do key :'$ref', :'Swagger::V1::::Models::Apress::Api::SimpleError' end end end |