Class: WeakSwaggerParameters::Definitions::Path
- Inherits:
-
ParamContainer
- Object
- ParamContainer
- WeakSwaggerParameters::Definitions::Path
- Defined in:
- lib/weak_swagger_parameters/definitions/path.rb
Instance Method Summary collapse
- #integer(name, description, options = {}) ⇒ Object
- #string(name, description, options = {}) ⇒ Object
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, = {}) register_definition(:integer, name, description, ) end |
#string(name, description, options = {}) ⇒ Object
6 7 8 |
# File 'lib/weak_swagger_parameters/definitions/path.rb', line 6 def string(name, description, = {}) register_definition(:string, name, description, ) end |