32 string uri_path =
"/";
38 const ProviderInfo = ...;
42 const ConstructorOptions = ...;
46 const HttpMethods = ...;
The Swagger data provider common base class.
Definition SwaggerDataProviderCommon.qc.dox.h:28
string getName()
Returns the data provider name.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
setSchema(SwaggerSchema schema)
Sets the schema and display name.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
checkRestClient(RestClient rest)
Checks the REST client.
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.
string display_name
The value to returns as the name of the object.
Definition SwaggerDataProvider.qc.dox.h:35
constructor(SwaggerSchema schema, *RestClient rest)
Creates the object from the arguments.
object getSchemaObjectImpl()
Returns the schema supporting this data provider.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
constructor(hash< auto > path_tree, string uri_path, SwaggerSchema schema, *RestClient rest)
Private constructor; used when traversing the tree.
*string getDesc()
Returns the data provider description.
hash< auto > path_tree
hash of valid paths
Definition SwaggerDataProvider.qc.dox.h:51
Qore SwaggerDataProvider module definition.
Definition SwaggerDataProvider.qc.dox.h:26