Sha256: 2a13f5996ebcfe3afde1fd1b6ee5ef2390b0a318bafc13cb280fcdeed90fee85
Contents?: true
Size: 715 Bytes
Versions: 2
Compression:
Stored size: 715 Bytes
Contents
module Swagger module V1 class Root < ::Apress::Documentation::Swagger::Schema swagger_root do key :swagger, '2.0' info do key :version, '1.0.0' key :title, 'Apress API' key :description, 'Apress API' key :termsOfService, 'None' contact do key :name, 'Abak-Press Team' end end key :basePath, '/api/v1' key :produces, ['application/json'] security_definition :APIAuth do key :type, :apiKey key :in, :header key :name, 'Authorization' key :description, 'Authentication by access_id token based on HMAC' end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apress-api-1.22.1 | app/docs/swagger/v1/root.rb |
apress-api-1.22.0 | app/docs/swagger/v1/root.rb |