aboutsummaryrefslogtreecommitdiffstats
path: root/docs/swagger/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger/swagger.json')
-rw-r--r--docs/swagger/swagger.json598
1 files changed, 375 insertions, 223 deletions
diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json
index a884cfc49..75c629562 100644
--- a/docs/swagger/swagger.json
+++ b/docs/swagger/swagger.json
@@ -1,16 +1,16 @@
{
"swagger" : "2.0",
"info" : {
- "version" : "6.0.0-SNAPSHOT",
+ "version" : "6.1.2-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:39481",
+ "host" : "localhost:37747",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
"/v2/clampInformation" : {
"get" : {
- "operationId" : "route106",
+ "operationId" : "verb188",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -20,13 +20,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route106"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route193"
}
},
"/v2/dictionary" : {
"get" : {
- "operationId" : "route91",
+ "operationId" : "verb173",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -36,11 +36,11 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route91"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route178"
},
"put" : {
- "operationId" : "route94",
+ "operationId" : "verb176",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -59,13 +59,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route94"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route181"
}
},
"/v2/dictionary/{dictionaryName}" : {
"get" : {
- "operationId" : "route93",
+ "operationId" : "verb175",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "dictionaryName",
@@ -81,13 +81,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route93"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route180"
}
},
"/v2/dictionary/{name}" : {
"put" : {
- "operationId" : "route95",
+ "operationId" : "verb177",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -111,11 +111,11 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route95"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route182"
},
"delete" : {
- "operationId" : "route96",
+ "operationId" : "verb178",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
@@ -126,13 +126,13 @@
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route96"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route183"
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
"delete" : {
- "operationId" : "route97",
+ "operationId" : "verb179",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
@@ -148,13 +148,13 @@
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route97"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route184"
}
},
"/v2/dictionary/secondary/names" : {
"get" : {
- "operationId" : "route92",
+ "operationId" : "verb174",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -167,13 +167,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route92"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route179"
}
},
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route75",
+ "operationId" : "verb154",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -189,13 +189,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route75"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route159"
}
},
"/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
"put" : {
- "operationId" : "route88",
+ "operationId" : "verb167",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -221,17 +221,22 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route88"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route172"
}
},
"/v2/loop/create/{loopName}?templateName={templateName}" : {
"post" : {
- "operationId" : "route90",
+ "operationId" : "verb169",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
- "name" : "loopName}?templateName={templateName",
+ "name" : "loopName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "templateName",
"in" : "path",
"required" : true,
"type" : "string"
@@ -244,13 +249,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route90"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route174"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route86",
+ "operationId" : "verb165",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
@@ -260,13 +265,13 @@
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route86"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route170"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route79",
+ "operationId" : "verb158",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -282,13 +287,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route79"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route163"
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route74",
+ "operationId" : "verb153",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -301,13 +306,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route74"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route158"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route87",
+ "operationId" : "verb166",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -323,13 +328,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route87"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route171"
}
},
"/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
"put" : {
- "operationId" : "route80",
+ "operationId" : "verb159",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -350,13 +355,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route80"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route164"
}
},
"/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
"put" : {
- "operationId" : "route81",
+ "operationId" : "verb160",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -377,13 +382,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route81"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route165"
}
},
"/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
"put" : {
- "operationId" : "route89",
+ "operationId" : "verb168",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -414,13 +419,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route89"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route173"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route84",
+ "operationId" : "verb163",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -436,13 +441,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route84"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route168"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route83",
+ "operationId" : "verb162",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -458,13 +463,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route83"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route167"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route85",
+ "operationId" : "verb164",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -480,13 +485,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route85"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route169"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route82",
+ "operationId" : "verb161",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -502,13 +507,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route82"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route166"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route76",
+ "operationId" : "verb155",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -532,13 +537,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route76"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route160"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route78",
+ "operationId" : "verb157",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -562,13 +567,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route78"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route162"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route77",
+ "operationId" : "verb156",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -592,53 +597,72 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route77"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route161"
}
},
- "/v2/policyToscaModels" : {
+ "/v2/policies" : {
"get" : {
- "operationId" : "route98",
+ "operationId" : "verb183",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/PolicyModel"
+ "$ref" : "#/definitions/JsonObject"
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route98"
- },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route188"
+ }
+ },
+ "/v2/policies/{policyModelType}/{policyModelVersion}/{policyName}/{policyVersion}" : {
"post" : {
- "operationId" : "route101",
- "consumes" : [ "plain/text" ],
+ "operationId" : "verb184",
+ "consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
+ "name" : "policyModelType",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyModelVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
"in" : "body",
"name" : "body",
"required" : true,
"schema" : {
- "type" : "string"
+ "$ref" : "#/definitions/JsonElement"
}
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/PolicyModel"
+ "$ref" : "#/definitions/JsonObject"
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route101"
- }
- },
- "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
- "get" : {
- "operationId" : "route99",
- "produces" : [ "application/json" ],
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route189"
+ },
+ "delete" : {
+ "operationId" : "verb185",
"parameters" : [ {
"name" : "policyModelType",
"in" : "path",
@@ -649,8 +673,67 @@
"in" : "path",
"required" : true,
"type" : "string"
+ }, {
+ "name" : "policyName",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "policyVersion",
+ "in" : "path",
+ "required" : true,
+ "type" : "string"
} ],
"responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route190"
+ }
+ },
+ "/v2/policies/pdpDeployment" : {
+ "put" : {
+ "operationId" : "verb186",
+ "consumes" : [ "application/json" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/JsonElement"
+ }
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route191"
+ }
+ },
+ "/v2/policies/policytype" : {
+ "post" : {
+ "operationId" : "verb187",
+ "consumes" : [ "plain/text" ],
+ "parameters" : [ {
+ "in" : "body",
+ "name" : "body",
+ "required" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ } ],
+ "responses" : {
+ "200" : { }
+ },
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route192"
+ }
+ },
+ "/v2/policyToscaModels" : {
+ "get" : {
+ "operationId" : "verb180",
+ "produces" : [ "application/json" ],
+ "responses" : {
"200" : {
"description" : "Output type",
"schema" : {
@@ -658,12 +741,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route99"
- },
- "put" : {
- "operationId" : "route102",
- "consumes" : [ "plain/text" ],
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route185"
+ }
+ },
+ "/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
+ "get" : {
+ "operationId" : "verb181",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
@@ -675,29 +759,22 @@
"in" : "path",
"required" : true,
"type" : "string"
- }, {
- "in" : "body",
- "name" : "body",
- "required" : true,
- "schema" : {
- "type" : "string"
- }
} ],
"responses" : {
"200" : {
"description" : "Output type",
"schema" : {
- "$ref" : "#/definitions/PolicyModel"
+ "$ref" : "#/definitions/JsonObject"
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route102"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route186"
}
},
"/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
"get" : {
- "operationId" : "route100",
+ "operationId" : "verb182",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
@@ -718,13 +795,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route100"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route187"
}
},
"/v2/templates" : {
"get" : {
- "operationId" : "route103",
+ "operationId" : "verb170",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -734,13 +811,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route103"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route175"
}
},
"/v2/templates/{templateName}" : {
"get" : {
- "operationId" : "route104",
+ "operationId" : "verb171",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "templateName",
@@ -756,13 +833,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route104"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route176"
}
},
"/v2/templates/names" : {
"get" : {
- "operationId" : "route105",
+ "operationId" : "verb172",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -775,13 +852,13 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route105"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route177"
}
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route107",
+ "operationId" : "verb189",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -791,19 +868,19 @@
}
}
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route107"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route194"
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route108",
+ "operationId" : "verb190",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-3",
- "x-routeId" : "route108"
+ "x-camelContextId" : "camel-5",
+ "x-routeId" : "route195"
}
}
},
@@ -988,31 +1065,34 @@
"asBoolean" : {
"type" : "boolean"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
- },
- "asLong" : {
- "type" : "integer",
- "format" : "int64"
- },
"boolean" : {
"type" : "boolean"
},
"number" : {
"type" : "boolean"
},
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
},
"asString" : {
"type" : "string"
},
+ "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"
@@ -1030,33 +1110,30 @@
"type" : "integer",
"format" : "int32"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
- },
"string" : {
"type" : "boolean"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "jsonArray" : {
+ "type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
- "jsonArray" : {
- "type" : "boolean"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
@@ -1137,53 +1214,56 @@
"asBoolean" : {
"type" : "boolean"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
- },
- "asLong" : {
- "type" : "integer",
- "format" : "int64"
- },
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
- },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asString" : {
- "type" : "string"
- },
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "jsonArray" : {
+ "type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
- "jsonArray" : {
- "type" : "boolean"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "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"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
"asCharacter" : {
"type" : "string"
},
@@ -1196,9 +1276,6 @@
"asShort" : {
"type" : "integer",
"format" : "int32"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
}
},
"x-className" : {
@@ -1335,53 +1412,56 @@
"asBoolean" : {
"type" : "boolean"
},
- "asDouble" : {
- "type" : "number",
- "format" : "double"
- },
- "asLong" : {
- "type" : "integer",
- "format" : "int64"
- },
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
- },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asString" : {
- "type" : "string"
- },
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "jsonArray" : {
+ "type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
- "jsonArray" : {
- "type" : "boolean"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "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"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
- },
"asCharacter" : {
"type" : "string"
},
@@ -1394,9 +1474,6 @@
"asShort" : {
"type" : "integer",
"format" : "int32"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
}
}
},
@@ -1406,10 +1483,20 @@
"asBoolean" : {
"type" : "boolean"
},
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asString" : {
+ "type" : "string"
+ },
"asDouble" : {
"type" : "number",
"format" : "double"
},
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asLong" : {
"type" : "integer",
"format" : "int64"
@@ -1418,13 +1505,6 @@
"type" : "integer",
"format" : "int32"
},
- "asString" : {
- "type" : "string"
- },
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asByte" : {
"type" : "string",
"format" : "byte"
@@ -1442,30 +1522,27 @@
"type" : "integer",
"format" : "int32"
},
- "asNumber" : {
- "$ref" : "#/definitions/Number"
- },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "jsonArray" : {
+ "type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonNull" : {
+ "jsonPrimitive" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "jsonNull" : {
"type" : "boolean"
},
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
- "jsonArray" : {
- "type" : "boolean"
- },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
@@ -1631,6 +1708,81 @@
}
}
},
+ "JsonElement" : {
+ "type" : "object",
+ "properties" : {
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
+ },
+ "jsonArray" : {
+ "type" : "boolean"
+ },
+ "jsonObject" : {
+ "type" : "boolean"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
+ "jsonNull" : {
+ "type" : "boolean"
+ },
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
+ },
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asString" : {
+ "type" : "string"
+ },
+ "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"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asBigDecimal" : {
+ "type" : "number"
+ },
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "x-className" : {
+ "type" : "string",
+ "format" : "com.google.gson.JsonElement"
+ }
+ },
"CldsHealthCheck" : {
"type" : "object",
"properties" : {
@@ -1650,4 +1802,4 @@
}
}
}
-} \ No newline at end of file
+}