Qore SwaggerDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
SwaggerDataProvider::SwaggerDataProviderBase Class Reference

The Swagger data provider base class. More...

#include <SwaggerDataProviderBase.qc.dox.h>

Inheritance diagram for SwaggerDataProvider::SwaggerDataProviderBase:
[legend]

Public Member Methods

 constructor ()
 Creates the object.
 
 constructor (RestClient::RestClient rest)
 Creates the object.
 
- Public Member Methods inherited from SwaggerDataProvider::SwaggerDataProviderCommon
 constructor ()
 Creates the object.
 
 constructor (RestClient::RestClient rest)
 Creates the object.
 
SwaggerSchema getSchema ()
 Returns the Swagger schema.
 
 setLogger (*LoggerInterface logger)
 Accepts a LoggerInterface object for logging (or clears it)
 

Private Member Methods

 addFieldsFromParameters (HashDataType rv, hash< string, AbstractParameterObject > parameters, reference< bool > required)
 Returns a field definition from Swagger parameters.
 
AbstractDataField getFieldForHeaders (string name, hash< auto > headers)
 Returns a field of header fields.
 
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.
 
AbstractDataField getFieldFromSchema (string name, *string desc, SchemaObject schema, bool required=True)
 Returns a field definition from the Swagger parameter.
 
AbstractDataField getFieldFromSchemaIntern (string path, 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.
 
AbstractDataProviderType getType (string path, string typestr, *string format, *SchemaObject arrayItems, bool required=True)
 Returns the data type corresponding to the values.
 

Additional Inherited Members

- Private Attributes inherited from SwaggerDataProvider::SwaggerDataProviderCommon
*RestClient::RestClient rest
 The REST client object for API calls.
 
SwaggerSchema schema
 The Swagger schema.
 

Detailed Description

The Swagger data provider base class.