Sha256: 2edb41a9a8ea3a4333f1ba8ad4448dc95367a80006baf959fb04a9b14fc7eacb

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true
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

1 entries across 1 versions & 1 rubygems

Version Path
apress-api-1.24.2 app/docs/swagger/v1/default_responses/unauthorized.rb