aboutsummaryrefslogtreecommitdiffstats
path: root/docs/swagger/swagger.json
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-10-09 16:32:12 +0200
committerS�bastien Determe <sebastien.determe@intl.att.com>2020-10-09 18:56:11 +0000
commit88fd35f7b46041f723cff0eaaf4ea4ed46e9530f (patch)
treed2ad8ed68dd0ad8aa40d1dd465bf4fc9fe200890 /docs/swagger/swagger.json
parentfd5d1f43556cb7c412f454a742fa87721444425b (diff)
Fix the DCAE query
The DCAE deployment URL can contain URI parameters that crashes the URL used by HTTP4 Camel. Also the parameter connectionTimeToLive is removed as it is transmitted in each call. The SDC client is also updated to 1.4.1 Issue-ID: CLAMP-954 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ieebdfe009f4339188c75c7a3365546779a087561 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'docs/swagger/swagger.json')
-rw-r--r--docs/swagger/swagger.json466
1 files changed, 230 insertions, 236 deletions
diff --git a/docs/swagger/swagger.json b/docs/swagger/swagger.json
index fbd9c48d..1c6dde16 100644
--- a/docs/swagger/swagger.json
+++ b/docs/swagger/swagger.json
@@ -1,16 +1,16 @@
{
"swagger" : "2.0",
"info" : {
- "version" : "5.1.0-SNAPSHOT",
+ "version" : "5.1.3-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:43065",
+ "host" : "localhost:8443",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
"/v2/clampInformation" : {
"get" : {
- "operationId" : "route142",
+ "operationId" : "route34",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -20,13 +20,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route142"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route34"
}
},
"/v2/dictionary" : {
"get" : {
- "operationId" : "route127",
+ "operationId" : "route19",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -36,11 +36,11 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route127"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route19"
},
"put" : {
- "operationId" : "route130",
+ "operationId" : "route22",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -59,13 +59,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route130"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route22"
}
},
"/v2/dictionary/{dictionaryName}" : {
"get" : {
- "operationId" : "route129",
+ "operationId" : "route21",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "dictionaryName",
@@ -81,13 +81,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route129"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route21"
}
},
"/v2/dictionary/{name}" : {
"put" : {
- "operationId" : "route131",
+ "operationId" : "route23",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -111,11 +111,11 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route131"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route23"
},
"delete" : {
- "operationId" : "route132",
+ "operationId" : "route24",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
@@ -126,13 +126,13 @@
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route132"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route24"
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
"delete" : {
- "operationId" : "route133",
+ "operationId" : "route25",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
@@ -148,13 +148,13 @@
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route133"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route25"
}
},
"/v2/dictionary/secondary/names" : {
"get" : {
- "operationId" : "route128",
+ "operationId" : "route20",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -167,13 +167,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route128"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route20"
}
},
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route111",
+ "operationId" : "route3",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -189,13 +189,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route111"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route3"
}
},
"/v2/loop/addOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}" : {
"put" : {
- "operationId" : "route124",
+ "operationId" : "route16",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -221,13 +221,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route124"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route16"
}
},
"/v2/loop/create/{loopName}?templateName={templateName}" : {
"post" : {
- "operationId" : "route126",
+ "operationId" : "route18",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -244,13 +244,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route126"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route18"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route122",
+ "operationId" : "route14",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
@@ -260,13 +260,13 @@
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route122"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route14"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route115",
+ "operationId" : "route7",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -282,13 +282,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route115"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route7"
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route110",
+ "operationId" : "route2",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -301,13 +301,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route110"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route2"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route123",
+ "operationId" : "route15",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -323,13 +323,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route123"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route15"
}
},
"/v2/loop/refreshMicroServicePolicyJsonSchema/{loopName}/{microServicePolicyName}" : {
"put" : {
- "operationId" : "route116",
+ "operationId" : "route8",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -350,13 +350,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route116"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route8"
}
},
"/v2/loop/refreshOperationalPolicyJsonSchema/{loopName}/{operationalPolicyName}" : {
"put" : {
- "operationId" : "route117",
+ "operationId" : "route9",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -377,13 +377,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route117"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route9"
}
},
"/v2/loop/removeOperationaPolicy/{loopName}/policyModel/{policyType}/{policyVersion}/{policyName}" : {
"put" : {
- "operationId" : "route125",
+ "operationId" : "route17",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -414,13 +414,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route125"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route17"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route120",
+ "operationId" : "route12",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -436,13 +436,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route120"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route12"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route119",
+ "operationId" : "route11",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -458,13 +458,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route119"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route11"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route121",
+ "operationId" : "route13",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -480,13 +480,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route121"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route13"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route118",
+ "operationId" : "route10",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@ -502,13 +502,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route118"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route10"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route112",
+ "operationId" : "route4",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -532,13 +532,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route112"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route4"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route114",
+ "operationId" : "route6",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -562,13 +562,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route114"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route6"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route113",
+ "operationId" : "route5",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -592,13 +592,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route113"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route5"
}
},
"/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route134",
+ "operationId" : "route26",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -608,11 +608,11 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route134"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route26"
},
"post" : {
- "operationId" : "route137",
+ "operationId" : "route29",
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -631,13 +631,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route137"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route29"
}
},
"/v2/policyToscaModels/{policyModelType}/{policyModelVersion}" : {
"get" : {
- "operationId" : "route135",
+ "operationId" : "route27",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
@@ -658,11 +658,11 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route135"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route27"
},
"put" : {
- "operationId" : "route138",
+ "operationId" : "route30",
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@ -691,13 +691,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route138"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route30"
}
},
"/v2/policyToscaModels/yaml/{policyModelType}/{policyModelVersion}" : {
"get" : {
- "operationId" : "route136",
+ "operationId" : "route28",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "policyModelType",
@@ -718,13 +718,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route136"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route28"
}
},
"/v2/templates" : {
"get" : {
- "operationId" : "route139",
+ "operationId" : "route31",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -734,13 +734,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route139"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route31"
}
},
"/v2/templates/{templateName}" : {
"get" : {
- "operationId" : "route140",
+ "operationId" : "route32",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "templateName",
@@ -756,13 +756,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route140"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route32"
}
},
"/v2/templates/names" : {
"get" : {
- "operationId" : "route141",
+ "operationId" : "route33",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -775,13 +775,13 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route141"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route33"
}
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route143",
+ "operationId" : "route35",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@ -791,19 +791,19 @@
}
}
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route143"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route35"
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route144",
+ "operationId" : "route36",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-4",
- "x-routeId" : "route144"
+ "x-camelContextId" : "camel-1",
+ "x-routeId" : "route36"
}
}
},
@@ -988,36 +988,25 @@
"asBoolean" : {
"type" : "boolean"
},
- "number" : {
- "type" : "boolean"
- },
- "asString" : {
- "type" : "string"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"asDouble" : {
"type" : "number",
"format" : "double"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
},
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
+ "boolean" : {
+ "type" : "boolean"
},
- "asByte" : {
- "type" : "string",
- "format" : "byte"
+ "number" : {
+ "type" : "boolean"
},
- "asCharacter" : {
+ "asString" : {
"type" : "string"
},
"asBigDecimal" : {
@@ -1030,35 +1019,46 @@
"type" : "integer",
"format" : "int32"
},
- "boolean" : {
- "type" : "boolean"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
},
"string" : {
"type" : "boolean"
},
- "jsonArray" : {
- "type" : "boolean"
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "jsonArray" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "jsonPrimitive" : {
+ "type" : "boolean"
}
}
},
@@ -1124,9 +1124,6 @@
},
"dcaeBlueprintId" : {
"type" : "string"
- },
- "legacy" : {
- "type" : "boolean"
}
},
"x-className" : {
@@ -1140,49 +1137,47 @@
"asBoolean" : {
"type" : "boolean"
},
- "asString" : {
- "type" : "string"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "jsonArray" : {
- "type" : "boolean"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "jsonObject" : {
- "type" : "boolean"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "jsonPrimitive" : {
- "type" : "boolean"
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "jsonNull" : {
+ "asString" : {
+ "type" : "string"
+ },
+ "jsonObject" : {
"type" : "boolean"
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
"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"
@@ -1190,18 +1185,20 @@
"asCharacter" : {
"type" : "string"
},
- "asBigDecimal" : {
- "type" : "number"
+ "jsonArray" : {
+ "type" : "boolean"
},
- "asBigInteger" : {
- "type" : "integer"
+ "jsonNull" : {
+ "type" : "boolean"
},
- "asShort" : {
- "type" : "integer",
- "format" : "int32"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
}
},
"x-className" : {
@@ -1329,9 +1326,6 @@
},
"loop" : {
"$ref" : "#/definitions/Loop"
- },
- "legacy" : {
- "type" : "boolean"
}
}
},
@@ -1341,49 +1335,47 @@
"asBoolean" : {
"type" : "boolean"
},
- "asString" : {
- "type" : "string"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
- "jsonArray" : {
- "type" : "boolean"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
- "jsonObject" : {
- "type" : "boolean"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
},
- "jsonPrimitive" : {
- "type" : "boolean"
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
- "jsonNull" : {
+ "asString" : {
+ "type" : "string"
+ },
+ "jsonObject" : {
"type" : "boolean"
},
"asJsonArray" : {
"$ref" : "#/definitions/JsonArray"
},
- "asJsonPrimitive" : {
- "$ref" : "#/definitions/JsonPrimitive"
+ "asBigDecimal" : {
+ "type" : "number"
},
- "asJsonNull" : {
- "$ref" : "#/definitions/JsonNull"
+ "asBigInteger" : {
+ "type" : "integer"
+ },
+ "asShort" : {
+ "type" : "integer",
+ "format" : "int32"
},
"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"
@@ -1391,18 +1383,20 @@
"asCharacter" : {
"type" : "string"
},
- "asBigDecimal" : {
- "type" : "number"
+ "jsonArray" : {
+ "type" : "boolean"
},
- "asBigInteger" : {
- "type" : "integer"
+ "jsonNull" : {
+ "type" : "boolean"
},
- "asShort" : {
- "type" : "integer",
- "format" : "int32"
+ "asJsonPrimitive" : {
+ "$ref" : "#/definitions/JsonPrimitive"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "jsonPrimitive" : {
+ "type" : "boolean"
}
}
},
@@ -1412,33 +1406,19 @@
"asBoolean" : {
"type" : "boolean"
},
- "asString" : {
- "type" : "string"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"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" : {
+ "asString" : {
"type" : "string"
},
"asBigDecimal" : {
@@ -1451,29 +1431,43 @@
"type" : "integer",
"format" : "int32"
},
- "jsonArray" : {
- "type" : "boolean"
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "asByte" : {
+ "type" : "string",
+ "format" : "byte"
+ },
+ "asCharacter" : {
+ "type" : "string"
+ },
+ "asJsonObject" : {
+ "$ref" : "#/definitions/JsonObject"
},
"jsonObject" : {
"type" : "boolean"
},
- "jsonPrimitive" : {
+ "asJsonArray" : {
+ "$ref" : "#/definitions/JsonArray"
+ },
+ "jsonArray" : {
"type" : "boolean"
},
"jsonNull" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
},
- "asJsonObject" : {
- "$ref" : "#/definitions/JsonObject"
+ "jsonPrimitive" : {
+ "type" : "boolean"
}
},
"x-className" : {