![]() |
Qore SwaggerDataProvider Module Reference
1.0.3
|
The Swagger data provider class. More...
Inherits AbstractDataProvider.
Public Member Methods | |
| constructor (*hash< auto > options) | |
| Creates the object from constructor options. | |
| constructor (SwaggerSchema schema, *RestClient rest) | |
| Creates the object from the arguments. | |
| string | getName () |
| Returns the data provider name. | |
Public Attributes | |
| const | ConstructorOptions = ... |
| Constructor options. | |
| const | HttpMethods = ... |
| Hash of HTTP Methods. | |
| const | ProviderInfo = ... |
| Provider info. | |
| *RestClient | rest |
| The REST client object for API calls. | |
| SwaggerSchema | schema |
| The Swagger schema. | |
| string | uri_path = "/" |
| current URI path | |
Private Member Methods | |
| checkRestClient (RestClient rest) | |
| Checks the REST client. | |
| constructor (hash< auto > path_tree, string uri_path, SwaggerSchema schema, *RestClient rest) | |
| Private constructor; used when traversing the tree. | |
| AbstractDataProvider | getChildIntern (string name, *string real_name) |
| Returns the child provider for the given path component. | |
| *AbstractDataProvider | getChildProviderImpl (string name) |
| Returns the given child provider or NOTHING if the given child is unknown. More... | |
| *list< string > | getChildProviderNamesImpl () |
| Returns a list of child data provider names, if any. More... | |
| hash< DataProviderInfo > | getStaticInfoImpl () |
| Returns data provider static info. | |
Private Attributes | |
| hash< auto > | path_tree |
| hash of valid paths | |
The Swagger data provider class.
|
private |