Add info in the SVG
[clamp.git] / docs / swagger / swagger.json
index d8a9ddc..25b09a7 100644 (file)
@@ -1,10 +1,10 @@
 {
   "swagger" : "2.0",
   "info" : {
-    "version" : "5.0.0-SNAPSHOT",
+    "version" : "5.1.0-SNAPSHOT",
     "title" : "Clamp Rest API"
   },
-  "host" : "localhost:42393",
+  "host" : "localhost:37033",
   "basePath" : "/restservices/clds/",
   "schemes" : [ "http" ],
   "paths" : {
@@ -26,7 +26,7 @@
     },
     "/v2/dictionary" : {
       "get" : {
-        "operationId" : "route98",
+        "operationId" : "route96",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : "route98"
+        "x-routeId" : "route96"
       },
       "put" : {
-        "operationId" : "route100",
+        "operationId" : "route99",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : "route100"
+        "x-routeId" : "route99"
       }
     },
     "/v2/dictionary/{dictionaryName}" : {
       "get" : {
+        "operationId" : "route98",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "dictionaryName",
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route98"
       }
     },
     "/v2/dictionary/{name}" : {
       "put" : {
+        "operationId" : "route100",
         "consumes" : [ "application/json" ],
         "produces" : [ "application/json" ],
         "parameters" : [ {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route100"
       },
       "delete" : {
-        "operationId" : "route102",
+        "operationId" : "route101",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "name",
           "200" : { }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : "route102"
+        "x-routeId" : "route101"
       }
     },
     "/v2/dictionary/{name}/elements/{shortName}" : {
       "delete" : {
+        "operationId" : "route102",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "name",
           "200" : { }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route102"
       }
     },
     "/v2/dictionary/secondary/names" : {
       "get" : {
+        "operationId" : "route97",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route97"
       }
     },
     "/v2/loop/{loopName}" : {
         "x-routeId" : "route86"
       }
     },
-    "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
+    "/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
       "put" : {
         "operationId" : "route94",
         "produces" : [ "application/json" ],
           "in" : "path",
           "required" : true,
           "type" : "string"
+        }, {
+          "name" : "policyName",
+          "in" : "path",
+          "required" : true,
+          "type" : "string"
         } ],
         "responses" : {
           "200" : {
     },
     "/v2/policyToscaModels" : {
       "get" : {
-        "operationId" : "route105",
+        "operationId" : "route103",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : "route105"
+        "x-routeId" : "route103"
       },
       "post" : {
         "operationId" : "route106",
     },
     "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
       "get" : {
+        "operationId" : "route104",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "policyModelType",
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route104"
       },
       "put" : {
         "operationId" : "route107",
     },
     "/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
       "get" : {
+        "operationId" : "route105",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "policyModelType",
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route105"
       }
     },
     "/v2/templates" : {
       "get" : {
-        "operationId" : "route111",
+        "operationId" : "route108",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : "route111"
+        "x-routeId" : "route108"
       }
     },
     "/v2/templates/{templateName}" : {
       "get" : {
+        "operationId" : "route109",
         "produces" : [ "application/json" ],
         "parameters" : [ {
           "name" : "templateName",
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route109"
       }
     },
     "/v2/templates/{templateName}/svgRepresentation" : {
       "get" : {
+        "operationId" : "route111",
         "produces" : [ "application/xml" ],
         "parameters" : [ {
           "name" : "templateName",
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route111"
       }
     },
     "/v2/templates/names" : {
       "get" : {
+        "operationId" : "route110",
         "produces" : [ "application/json" ],
         "responses" : {
           "200" : {
           }
         },
         "x-camelContextId" : "camel-3",
-        "x-routeId" : null
+        "x-routeId" : "route110"
       }
     },
     "/v1/healthcheck" : {
         "asString" : {
           "type" : "string"
         },
-        "asLong" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
-        },
         "asCharacter" : {
           "type" : "string"
         },
           "type" : "number",
           "format" : "float"
         },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
         "boolean" : {
           "type" : "boolean"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
         },
         "jsonPrimitive" : {
           "type" : "boolean"
         "asJsonPrimitive" : {
           "$ref" : "#/definitions/JsonPrimitive"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
+        "jsonObject" : {
+          "type" : "boolean"
         }
       }
     },
         },
         "dcaeBlueprintId" : {
           "type" : "string"
+        },
+        "legacy" : {
+          "type" : "boolean"
         }
       },
       "x-className" : {
         "asString" : {
           "type" : "string"
         },
-        "asLong" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
-        },
         "asCharacter" : {
           "type" : "string"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
         },
         "jsonPrimitive" : {
           "type" : "boolean"
         "asJsonPrimitive" : {
           "$ref" : "#/definitions/JsonPrimitive"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
-        },
-        "asNumber" : {
-          "$ref" : "#/definitions/Number"
-        },
         "asDouble" : {
           "type" : "number",
           "format" : "double"
         "asFloat" : {
           "type" : "number",
           "format" : "float"
+        },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
+        "jsonObject" : {
+          "type" : "boolean"
         }
       },
       "x-className" : {
         "asString" : {
           "type" : "string"
         },
-        "asLong" : {
-          "type" : "integer",
-          "format" : "int64"
-        },
-        "asInt" : {
-          "type" : "integer",
-          "format" : "int32"
-        },
-        "asByte" : {
-          "type" : "string",
-          "format" : "byte"
-        },
         "asCharacter" : {
           "type" : "string"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
+        },
+        "asNumber" : {
+          "$ref" : "#/definitions/Number"
         },
         "jsonPrimitive" : {
           "type" : "boolean"
         "asJsonPrimitive" : {
           "$ref" : "#/definitions/JsonPrimitive"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
-        },
-        "asNumber" : {
-          "$ref" : "#/definitions/Number"
-        },
         "asDouble" : {
           "type" : "number",
           "format" : "double"
         "asFloat" : {
           "type" : "number",
           "format" : "float"
-        }
-      }
-    },
-    "JsonArray" : {
-      "type" : "object",
-      "properties" : {
-        "asBoolean" : {
-          "type" : "boolean"
-        },
-        "asString" : {
-          "type" : "string"
         },
         "asLong" : {
           "type" : "integer",
           "type" : "string",
           "format" : "byte"
         },
+        "jsonObject" : {
+          "type" : "boolean"
+        }
+      }
+    },
+    "JsonArray" : {
+      "type" : "object",
+      "properties" : {
+        "asBoolean" : {
+          "type" : "boolean"
+        },
+        "asString" : {
+          "type" : "string"
+        },
         "asCharacter" : {
           "type" : "string"
         },
           "type" : "number",
           "format" : "float"
         },
+        "asLong" : {
+          "type" : "integer",
+          "format" : "int64"
+        },
+        "asInt" : {
+          "type" : "integer",
+          "format" : "int32"
+        },
+        "asByte" : {
+          "type" : "string",
+          "format" : "byte"
+        },
         "asJsonArray" : {
           "$ref" : "#/definitions/JsonArray"
         },
         "jsonArray" : {
           "type" : "boolean"
         },
-        "jsonObject" : {
-          "type" : "boolean"
+        "asJsonNull" : {
+          "$ref" : "#/definitions/JsonNull"
         },
         "jsonPrimitive" : {
           "type" : "boolean"
         "asJsonPrimitive" : {
           "$ref" : "#/definitions/JsonPrimitive"
         },
-        "asJsonNull" : {
-          "$ref" : "#/definitions/JsonNull"
+        "jsonObject" : {
+          "type" : "boolean"
         }
       },
       "x-className" : {