diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-09-11 15:11:03 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-09-11 15:11:03 +0200 |
commit | 5b410e6f81aaa11c65e6dd2c3b841eed21ee1c38 (patch) | |
tree | a668fac8957ebe9f4acef6e8cb7549fe96642907 /docs/swagger/swagger.json | |
parent | 5c68a5e95f542694129639f173d1572694987040 (diff) |
Update swagger
Update swagger files due to all changes done so far, like removal of
useless code
Issue-ID: CLAMP-487
Change-Id: I7a920a8e9d40b58a583e01b22f5fd3db767b17d7
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'docs/swagger/swagger.json')
-rw-r--r-- | docs/swagger/swagger.json | 147 |
1 files changed, 85 insertions, 62 deletions
diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json index 80ffc2a9e..ab7e827b6 100644 --- a/docs/swagger/swagger.json +++ b/docs/swagger/swagger.json @@ -4,13 +4,13 @@ "version" : "4.1.2-SNAPSHOT", "title" : "Clamp Rest API" }, - "host" : "localhost:36829", + "host" : "localhost:38405", "basePath" : "/restservices/clds/", "schemes" : [ "http" ], "paths" : { "/v2/loop/{loopName}" : { "get" : { - "operationId" : "route20", + "operationId" : "route3", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -26,13 +26,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route20" + "x-camelContextId" : "camel-1", + "x-routeId" : "route3" } }, "/v2/loop/delete/{loopName}" : { "put" : { - "operationId" : "route30", + "operationId" : "route13", "parameters" : [ { "name" : "loopName", "in" : "path", @@ -42,13 +42,13 @@ "responses" : { "200" : { } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route30" + "x-camelContextId" : "camel-1", + "x-routeId" : "route13" } }, "/v2/loop/deploy/{loopName}" : { "put" : { - "operationId" : "route25", + "operationId" : "route8", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -64,13 +64,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route25" + "x-camelContextId" : "camel-1", + "x-routeId" : "route8" } }, "/v2/loop/getAllNames" : { "get" : { - "operationId" : "route19", + "operationId" : "route2", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -83,13 +83,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route19" + "x-camelContextId" : "camel-1", + "x-routeId" : "route2" } }, "/v2/loop/getstatus/{loopName}" : { "get" : { - "operationId" : "route31", + "operationId" : "route14", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -105,13 +105,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route31" + "x-camelContextId" : "camel-1", + "x-routeId" : "route14" } }, "/v2/loop/restart/{loopName}" : { "put" : { - "operationId" : "route28", + "operationId" : "route11", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -127,13 +127,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route28" + "x-camelContextId" : "camel-1", + "x-routeId" : "route11" } }, "/v2/loop/stop/{loopName}" : { "put" : { - "operationId" : "route27", + "operationId" : "route10", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -149,13 +149,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route27" + "x-camelContextId" : "camel-1", + "x-routeId" : "route10" } }, "/v2/loop/submit/{loopName}" : { "put" : { - "operationId" : "route29", + "operationId" : "route12", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -171,13 +171,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route29" + "x-camelContextId" : "camel-1", + "x-routeId" : "route12" } }, "/v2/loop/svgRepresentation/{loopName}" : { "get" : { - "operationId" : "route21", + "operationId" : "route4", "produces" : [ "application/xml" ], "parameters" : [ { "name" : "loopName", @@ -193,13 +193,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route21" + "x-camelContextId" : "camel-1", + "x-routeId" : "route4" } }, "/v2/loop/undeploy/{loopName}" : { "put" : { - "operationId" : "route26", + "operationId" : "route9", "produces" : [ "application/json" ], "parameters" : [ { "name" : "loopName", @@ -215,13 +215,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route26" + "x-camelContextId" : "camel-1", + "x-routeId" : "route9" } }, "/v2/loop/updateGlobalProperties/{loopName}" : { "post" : { - "operationId" : "route22", + "operationId" : "route5", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -245,13 +245,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route22" + "x-camelContextId" : "camel-1", + "x-routeId" : "route5" } }, "/v2/loop/updateMicroservicePolicy/{loopName}" : { "post" : { - "operationId" : "route24", + "operationId" : "route7", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -275,13 +275,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route24" + "x-camelContextId" : "camel-1", + "x-routeId" : "route7" } }, "/v2/loop/updateOperationalPolicies/{loopName}" : { "post" : { - "operationId" : "route23", + "operationId" : "route6", "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "parameters" : [ { @@ -305,13 +305,13 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route23" + "x-camelContextId" : "camel-1", + "x-routeId" : "route6" } }, "/v1/clds/cldsInfo" : { "get" : { - "operationId" : "route32", + "operationId" : "route15", "produces" : [ "application/json" ], "responses" : { "200" : { @@ -321,30 +321,35 @@ } } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route32" + "x-camelContextId" : "camel-1", + "x-routeId" : "route15" } }, "/v1/healthcheck" : { "get" : { - "operationId" : "route33", + "operationId" : "route16", "produces" : [ "application/json" ], "responses" : { - "200" : { } + "200" : { + "description" : "Output type", + "schema" : { + "$ref" : "#/definitions/CldsHealthCheck" + } + } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route33" + "x-camelContextId" : "camel-1", + "x-routeId" : "route16" } }, "/v1/user/getUser" : { "get" : { - "operationId" : "route34", + "operationId" : "route17", "produces" : [ "text/plain" ], "responses" : { "200" : { } }, - "x-camelContextId" : "camel-2", - "x-routeId" : "route34" + "x-camelContextId" : "camel-1", + "x-routeId" : "route17" } } }, @@ -458,12 +463,12 @@ "type" : "integer", "format" : "int32" }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonPrimitive" : { "$ref" : "#/definitions/JsonPrimitive" }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, "jsonPrimitive" : { "type" : "boolean" }, @@ -571,12 +576,12 @@ "string" : { "type" : "boolean" }, - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonPrimitive" : { "$ref" : "#/definitions/JsonPrimitive" }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, "jsonPrimitive" : { "type" : "boolean" }, @@ -634,15 +639,15 @@ "JsonObject" : { "type" : "object", "properties" : { - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonPrimitive" : { "$ref" : "#/definitions/JsonPrimitive" }, "asString" : { "type" : "string" }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, "jsonPrimitive" : { "type" : "boolean" }, @@ -752,15 +757,15 @@ "JsonNull" : { "type" : "object", "properties" : { - "asJsonObject" : { - "$ref" : "#/definitions/JsonObject" - }, "asJsonPrimitive" : { "$ref" : "#/definitions/JsonPrimitive" }, "asString" : { "type" : "string" }, + "asJsonObject" : { + "$ref" : "#/definitions/JsonObject" + }, "jsonPrimitive" : { "type" : "boolean" }, @@ -852,6 +857,24 @@ "type" : "string", "format" : "org.onap.clamp.clds.model.CldsInfo" } + }, + "CldsHealthCheck" : { + "type" : "object", + "properties" : { + "healthCheckComponent" : { + "type" : "string" + }, + "healthCheckStatus" : { + "type" : "string" + }, + "description" : { + "type" : "string" + } + }, + "x-className" : { + "type" : "string", + "format" : "org.onap.clamp.clds.model.CldsHealthCheck" + } } } }
\ No newline at end of file |