|
|
| constructor (SwaggerSchema schema, *RestClient rest, string uri_path, PathItemObject pio, OperationObject op) |
| | Creates the object from the arguments.
|
| |
|
*string | getDesc () |
| | Returns the data provider description.
|
| |
|
hash< DataProviderInfo > | getInfo () |
| | Returns data provider info.
|
| |
|
string | getName () |
| | Returns the data provider name.
|
| |
|
string | getUriValue (auto v) |
| | Returns the value for the given query argument.
|
| |
| private AbstractDataProviderRecordIterator | requestSearchRecordsImpl (auto req, *hash< DataProviderExpression > where_cond, *hash< auto > search_options) |
| | Returns an iterator for zero or more records matching the search options. More...
|
| |
| private AbstractDataProviderRecordIterator | requestSearchRecordsImpl (auto req, *hash< auto > where_cond, *hash< auto > search_options) |
| | Returns an iterator for zero or more records matching the search options. More...
|
| |
|
private | addFieldsFromParameters (HashDataType rv, hash< string, AbstractParameterObject > parameters, reference< bool > required) |
| | Returns a field definition from Swagger parameters.
|
| |
|
private AbstractDataField | getFieldFromParameter (string path, string name, string type, *string format, *SchemaObject arrayItems, *string desc, bool required, *list< auto > allowed_values) |
| | Returns a field from a Swagger parameter.
|
| |
|
private AbstractDataField | getFieldFromSchemaIntern (string path, string name, *string desc, SchemaObject schema, bool required=True) |
| | Returns a field definition from the Swagger parameter.
|
| |
|
private AbstractDataProviderType | getType (string path, string typestr, *string format, *SchemaObject arrayItems, bool required=True) |
| | Returns the data type corresponding to the values.
|
| |
|
| auto | doRequestImpl (auto req, *hash< auto > request_options) |
| | Makes a request and returned the response. More...
|
| |
|
hash< auto > | doRequestIntern (auto req, *hash< auto > options) |
| | Makes a REST request and returns the response.
|
| |
| AbstractDataProviderType | getErrorResponseTypeImpl (string error_code) |
| | Returns the type for the given error code. More...
|
| |
|
*hash< string, AbstractDataProviderType > | getErrorResponseTypesImpl () |
| | Returns a hash of error responses, if any.
|
| |
| *hash< string, AbstractDataField > | getRecordTypeImpl (*hash< auto > search_options) |
| | Returns the description of the record type, if any. More...
|
| |
|
*AbstractDataProviderType | getRequestTypeImpl () |
| | Returns the description of a successful request message, if any.
|
| |
|
*AbstractDataProviderType | getResponseTypeImpl () |
| | Returns the description of a successful response message, if any.
|
| |
|
AbstractDataProviderType | getResponseTypeIntern (ResponseObject response, string label) |
| | Returns a data provider type object for a Swagger response.
|
| |
|
RestClient | getRestClient () |
| | Returns a REST client for HTTP operations.
|
| |
|
hash< DataProviderInfo > | getStaticInfoImpl () |
| | Returns data provider static info.
|
| |
|
*ResponseObject | getSuccessResponse () |
| | Returns the schema for the first successful response message found.
|
| |
|
string | getUriPath () |
| | Returns the URI path to use in requests.
|
| |
|
AbstractDataField | getFieldForHeaders (string name, hash< auto > headers) |
| | Returns a field of header fields.
|
| |
|
AbstractDataField | getFieldFromSchema (string name, *string desc, SchemaObject schema, bool required=True) |
| | Returns a field definition from the Swagger parameter.
|
| |
|
AbstractDataProviderType | getSchemaDataType (string path, SchemaObject schema, bool required=True) |
| | Returns the data type for the given schema.
|
| |
|
hash< DataProviderInfo > | getStaticInfoImpl () |
| | Returns data provider static info.
|
| |
The Swagger data provider class.