Class: WeakSwaggerParameters::Definitions::Path

Inherits:
ParamContainer show all
Defined in:
lib/weak_swagger_parameters/definitions/path.rb

Instance Method Summary collapse

Methods inherited from ParamContainer

#apply_docs, #apply_validations, #initialize

Constructor Details

This class inherits a constructor from WeakSwaggerParameters::Definitions::ParamContainer

Instance Method Details

#integer(name, description, options = {}) ⇒ Object



10
11
12
# File 'lib/weak_swagger_parameters/definitions/path.rb', line 10

def integer(name, description, options = {})
  register_definition(:integer, name, description, options)
end

#string(name, description, options = {}) ⇒ Object



6
7
8
# File 'lib/weak_swagger_parameters/definitions/path.rb', line 6

def string(name, description, options = {})
  register_definition(:string, name, description, options)
end