Sha256: d28348394a6cebf789fa269b1b5634c6ccc8cd65bfa8f9ce30af36fa055c5176

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

module Acme
  class API < Grape::API
    prefix 'api'
    format :json
    mount ::Acme::Ping
    mount ::Acme::RescueFrom
    mount ::Acme::PathVersioning
    mount ::Acme::HeaderVersioning
    mount ::Acme::PostPut
    mount ::Acme::WrapResponse
    mount ::Acme::PostJson
    mount ::Acme::GetJson
    mount ::Acme::ContentType
    mount ::Acme::UploadFile
    mount ::Acme::Entities::API
    add_swagger_documentation api_version: 'v1'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vitals-0.4.0 integration/multiverse/grape-on-rack/app/api.rb
vitals-0.3.0 integration/multiverse/grape-on-rack/app/api.rb