Sha256: 1be84f810981d368032f8f65c2ca04ce7adfbc99647bcfa940181dfcd8f1149c

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true
module Swagger
  module V1
    module DefaultResponses
      module Unprocessable
        def self.extended(base)
          base.response 422 do
            key :description, "Переданные параметры не валидны"
            schema do
              key :'$ref', :'Swagger::V1::::Models::Apress::Api::UnprocessableError'
            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/unprocessable.rb