aboutsummaryrefslogtreecommitdiff
path: root/api/umosapi.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--api/umosapi.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/api/umosapi.h b/api/umosapi.h
index a1765d7..3cb2b47 100644
--- a/api/umosapi.h
+++ b/api/umosapi.h
@@ -16,6 +16,8 @@ using namespace std;
using json = nlohmann::json;
+namespace UmosapiService {
+
struct tag {
std::string name;
std::string description;
@@ -53,11 +55,11 @@ struct Paths {
std::vector<Path> paths;
};
-class UmosapiService {
+class Api {
public:
- UmosapiService();
- virtual ~UmosapiService() {};
+ Api();
+ virtual ~Api() {};
void init();
@@ -105,4 +107,5 @@ class UmosapiService {
void swagger(std::string ui_path, std::string swagger_dir, std::string api_path);
};
+}
#endif