Sha256: a540e32e4c7498fe7d48ca83efe275aba9012afacd414c36cd13c79bebed0a94

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

module Symphonia
  module Swagger
    module Parameters
      def self.extended(base)

        base.parameter do
          key :name, "format"
          key :description, "specify format of response"
          key :in, "path"
          key :required, true
          schema do
            key :type, "string"
            key :enum, %w[json]
          end
        end

      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
symphonia-3.2.4 app/models/symphonia/swagger/parameters.rb
symphonia-3.2.3 app/models/symphonia/swagger/parameters.rb
symphonia-3.2.2 app/models/symphonia/swagger/parameters.rb
symphonia-3.2.1 app/models/symphonia/swagger/parameters.rb