Qore SwaggerDataProvider Module Reference  1.1
SwaggerDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 namespace SwaggerDataProvider {
28 class SwaggerDataProvider : public AbstractDataProvider {
29 
30 public:
32  SwaggerSchema schema;
33 
36 
38  string uri_path = "/";
39 
41  const ProviderInfo = ...;
42 
43 
45  const ConstructorOptions = ...;
46 
47 
49  const HttpMethods = ...;
50 
51 
52 protected:
54  hash<auto> path_tree;
55 
56 public:
57 
59 protected:
60  constructor(hash<auto> path_tree, string uri_path, SwaggerSchema schema, *RestClient rest);
61 public:
62 
63 
65  constructor(SwaggerSchema schema, *RestClient rest);
66 
67 
69  constructor(*hash<auto> options);
70 
71 
73  string getName();
74 
75 
77  *string getDesc();
78 
79 
81 protected:
82  checkRestClient(RestClient rest);
83 public:
84 
85 
86 protected:
87  setupTree();
88 public:
89 
90 
92 
94 protected:
95  *list<string> getChildProviderNamesImpl();
96 public:
97 
98 
100 
104 protected:
105  *AbstractDataProvider getChildProviderImpl(string name);
106 public:
107 
108 
110 protected:
111  AbstractDataProvider getChildIntern(string name, *string real_name);
112 public:
113 
114 
116 protected:
117  hash<DataProviderInfo> getStaticInfoImpl();
118 public:
119 
120 };
121 }; // end namespace swagger
SwaggerSchema schema
The Swagger schema.
Definition: SwaggerDataProvider.qc.dox.h:32
Qore SwaggerDataProvider module definition.
Definition: SwaggerDataProvider.qc.dox.h:26
*RestClient rest
The REST client object for API calls.
Definition: SwaggerDataProvider.qc.dox.h:35
hash< auto > path_tree
hash of valid paths
Definition: SwaggerDataProvider.qc.dox.h:54