@@ -61,7 +61,7 @@ Json::Value SwaggerController::generateOpenAPISpec() {
6161 // Engines endpoints
6262 // Install Engine
6363 {
64- Json::Value& path = spec[" paths" ][" /engines/install/{engine}" ][" post" ];
64+ Json::Value& path = spec[" paths" ][" /v1/ engines/install/{engine}" ][" post" ];
6565 path[" summary" ] = " Install an engine" ;
6666 path[" parameters" ][0 ][" name" ] = " engine" ;
6767 path[" parameters" ][0 ][" in" ] = " path" ;
@@ -90,7 +90,7 @@ Json::Value SwaggerController::generateOpenAPISpec() {
9090
9191 // Uninstall Engine
9292 {
93- Json::Value& path = spec[" paths" ][" /engines/{engine}" ][" delete" ];
93+ Json::Value& path = spec[" paths" ][" /v1/ engines/{engine}" ][" delete" ];
9494 path[" summary" ] = " Uninstall an engine" ;
9595 path[" parameters" ][0 ][" name" ] = " engine" ;
9696 path[" parameters" ][0 ][" in" ] = " path" ;
@@ -113,7 +113,7 @@ Json::Value SwaggerController::generateOpenAPISpec() {
113113
114114 // List Engines
115115 {
116- Json::Value& path = spec[" paths" ][" /engines" ][" get" ];
116+ Json::Value& path = spec[" paths" ][" /v1/ engines" ][" get" ];
117117 path[" summary" ] = " List all engines" ;
118118
119119 Json::Value& response = path[" responses" ][" 200" ];
@@ -140,7 +140,7 @@ Json::Value SwaggerController::generateOpenAPISpec() {
140140
141141 // Get Engine
142142 {
143- Json::Value& path = spec[" paths" ][" /engines/{engine}" ][" get" ];
143+ Json::Value& path = spec[" paths" ][" /v1/ engines/{engine}" ][" get" ];
144144 path[" summary" ] = " Get engine details" ;
145145 path[" parameters" ][0 ][" name" ] = " engine" ;
146146 path[" parameters" ][0 ][" in" ] = " path" ;
0 commit comments