|
static ParameterItemsSchemaObject | newSchemaObject (string name, auto error, SwaggerSchema swagger) |
| throws an "INVALID-FIELD-TYPE" exception More...
|
|
static ParameterItemsSchemaObject | newSchemaObject (string name, hash< auto > oh, SwaggerSchema swagger) |
| returns a SchemaObject for the schema definition; resolves references More...
|
|
static SchemaObject | newSchemaObject (string name, auto error, SwaggerSchema swagger) |
| throws an "INVALID-FIELD-TYPE" exception More...
|
|
static SchemaObject | newSchemaObject (string name, hash< auto > oh, SwaggerSchema swagger, *bool require_items) |
| returns a SchemaObject for the schema definition; resolves references More...
|
|
static bool | checkValueType (reference< auto > value, string type) |
| Checks the value against the type. More...
|
|
|
| constructor (string name, hash< auto > oh, SwaggerSchema swagger) |
| private constructor; use newSchemaObject() instead More...
|
|
| checkIntern (bool serialize, bool request, string type, *string format, string path, string method, string name, hash< auto > v, reference< hash< auto > > value) |
| validates a schema object against a value
|
|
| constructor (string name, hash< auto > oh, SwaggerSchema swagger, *string hash_str, *bool require_items) |
| private constructor; use newSchemaObject() instead More...
|
|
| 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< softlist< 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 value) |
| converts strings to/from date/time 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 | getExampleValue (string type, *string format) |
| returns an example value for the given type
|
|
|
list< SchemaObject > | allOf () |
| See https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.5.3. More...
|
|
| check (bool serialize, bool request, string path, string method, string name, reference< auto > value) |
| validates the value against the schema definition
|
|
string | getQoreExample (reference< hash< RestQoreExampleCodeInfo > > rv, string name, bool decl) |
| returns example Qore code for the object
|
|
| constructor () |
| Constructor.
|
|
| constructor (hash< auto > oh) |
| Constructor. More...
|
|
| constructor (ObjectBase other) |
| copy constructor
|
|
| initialize (hash< auto > oh) |
| Initialize. More...
|
|
| constructor (SchemaBase other) |
| Copy constructor.
|
|
| constructor (string objType, hash< auto > oh) |
| Constructor. More...
|
|
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
|
|
items schema object for non-body parameters