38 string uri_path =
"/";
41 const ProviderInfo = ...;
45 const ConstructorOptions = ...;
49 const HttpMethods = ...;
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
string getName()
Returns the data provider name.
checkRestClient(RestClient rest)
Checks the REST client.
SwaggerSchema schema
The Swagger schema.
Definition: SwaggerDataProvider.qc.dox.h:32
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
constructor(*hash< auto > options)
Creates the object from constructor options.
AbstractDataProvider getChildIntern(string name, *string real_name)
Returns the child provider for the given path component.
constructor(SwaggerSchema schema, *RestClient rest)
Creates the object from the arguments.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
*RestClient rest
The REST client object for API calls.
Definition: SwaggerDataProvider.qc.dox.h:35
constructor(hash< auto > path_tree, string uri_path, SwaggerSchema schema, *RestClient rest)
Private constructor; used when traversing the tree.
hash< auto > path_tree
hash of valid paths
Definition: SwaggerDataProvider.qc.dox.h:54
Qore SwaggerDataProvider module definition.
Definition: SwaggerDataProvider.qc.dox.h:26