|
| setType (SwaggerSchema swagger) |
| Sets the parameter type.
|
|
abstract | setType (SwaggerSchema swagger) |
| Sets the parameter type.
|
|
| check (bool serialize, bool request, string type, *string format, *SchemaObject items, string path, string method, string name, reference< auto > value) |
| validates the value against the schema definition
|
|
| checkArrayParam (bool serialize, bool request, SchemaObject items, string path, string method, string name, reference< list< auto > > value) |
| validates the value against the schema definition
|
|
| checkIntern (bool serialize, bool request, string type, *string format, string path, string method, string name, binary v, reference value) |
| converts binary values to strings for supported formats
|
|
| checkIntern (bool serialize, bool request, string type, *string format, string path, string method, string name, date v, reference< auto > value) |
| converts dates to/from string or int values for supported formats
|
|
| checkIntern (bool serialize, bool request, string type, *string format, string path, string method, string name, string v, reference< auto > value) |
| validates string values
|
|
auto | getExampleValueWithFormat (string type, *string format, *string fname) |
| returns an example value for the given type
|
|
|
| check (bool serialize, bool request, string path, string method, string name, reference< auto > value) |
| validates the value against the schema definition
|
|
| constructor (string name, hash< auto > oh, SwaggerSchema swagger) |
| Creates the object.
|
|
auto | getDefaultValue () |
| returns the default value of the parameter (default: nothing)
|
|
auto | getExampleValue (*hash< string, bool > emap, *string fname) |
| returns an example value of the parameter (default: nothing)
|
|
abstract | check (bool serialize, bool request, string path, string method, string name, reference value) |
| verifies the parameter in an actual REST API call
|
|
| constructor (hash< auto > oh, *int opt_flags) |
| Constructor.
|
|
auto | getDefaultValue () |
| returns the default value of the parameter (default: nothing)
|
|
| constructor () |
| Constructor.
|
|
| constructor (hash< auto > oh) |
| Constructor.
|
|
| constructor (ObjectBase other) |
| copy constructor
|
|
| initialize (hash< auto > oh) |
| Initialize.
|
|
| constructor (SchemaBase other) |
| Copy constructor.
|
|
| constructor (string objType, hash< auto > oh) |
| Constructor.
|
|
static AbstractParameterObject | newParameter (string name, hash< auto > oh, SwaggerSchema swagger) |
| gets a concrete instance of an AbstractParameterObject
|
|
static bool | checkValueType (reference< auto > value, string type) |
| Checks the value against the type.
|
|
static | checkValueType (reference< auto > value, string type, *SchemaObject items, *string loc) |
| validates default values
|
|
static | throwInvalidType (string name, string actual, string expected, auto value) |
| throws an SCHEMA-VALIDATION-ERROR exception
|
|
AbstractParameterObject specialization for formData parameters