Sha256: 7515fd4bf156941e7304c1a2743e536255ebf8db0594d22c83b7ce2df4ed68c1

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

module Swagger
  module V1
    module DefaultResponses
      module Unauthenticated
        def self.extended(base)
          base.response 401 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/unauthenticated.rb
apress-api-1.23.0 app/docs/swagger/v1/default_responses/unauthenticated.rb
apress-api-1.22.1 app/docs/swagger/v1/default_responses/unauthenticated.rb
apress-api-1.22.0 app/docs/swagger/v1/default_responses/unauthenticated.rb