|
Qore Swagger Module Reference
0.1
|
Base used by OtherParameter, HeaderObject and SchemaObject. More...

Public Member Functions | |
| constructor (string objType, hash oh) | |
| Constructor. More... | |
| constructor (SchemaBase other) | |
| Copy constructor. | |
Private Member Functions | |
| check (bool serialize, bool request, string type, *SchemaObject items, string path, string method, string name, reference value) | |
| validates the value against the schema definition | |
| checkArrayParam (bool serialize, bool request, SchemaObject items, string path, string method, string name, reference< softlist > value) | |
| validates the value against the schema definition | |
| checkIntern (bool serialize, bool request, string type, string path, string method, string name, string v, reference< string > value) | |
| validates string values | |
| any | getExampleValue (string type, *string format) |
| returns an example value for the given type | |
Static Private Member Functions | |
| static | throwInvalidType (string name, string actual, string expected) |
throws an INVALID-PARAMETER-TYPE exception | |
Base used by OtherParameter, HeaderObject and SchemaObject.
Constructor.
| objType | the type of object |
| oh | deserialized hash from the source schema description |
See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.1.