Sha256: b6606f1a0ec337439a21168f578319f0eb22c3b539566864f8163c91fa3c505a

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

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