Sha256: c531eb7d7006b5018f9982bb3d763151c17b3e11b871607e8654cd5e7e728a2e
Contents?: true
Size: 619 Bytes
Versions: 13
Compression:
Stored size: 619 Bytes
Contents
module Symphonia module Swagger module Responses def self.extended(base) base.response 401 do key :description, 'not authorized' end base.response 404 do key :description, 'not found' end base.response 406 do key :description, 'not allowed' end base.response 422 do key :description, 'unprocessable entity' schema do key :'$ref', :ErrorModel end end base.response 500 do key :description, 'internal server error' end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems