Sha256: 0fa1b00548b92985410f823358ad2ba70834e91b641f62a63ef5b15bf422f769

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 Bytes

Contents

module Swagger
  module V1
    module DefaultResponses
      module Unauthorized
        def self.extended(base)
          base.response 403 do
            key :description, "Нет доступа к ресурсу"
            schema do
              key :'$ref', :'Swagger::V1::::Models::Apress::Api::SimpleError'
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apress-api-1.24.0 app/docs/swagger/v1/default_responses/unauthorized.rb
apress-api-1.23.0 app/docs/swagger/v1/default_responses/unauthorized.rb
apress-api-1.22.1 app/docs/swagger/v1/default_responses/unauthorized.rb
apress-api-1.22.0 app/docs/swagger/v1/default_responses/unauthorized.rb