Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix the tosca converter
[clamp.git]
/
docs
/
swagger
/
swagger.json
diff --git
a/docs/swagger/swagger.json
b/docs/swagger/swagger.json
index
64b43ab
..
1ed4a4b
100644
(file)
--- a/
docs/swagger/swagger.json
+++ b/
docs/swagger/swagger.json
@@
-4,13
+4,13
@@
"version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
"version" : "5.0.0-SNAPSHOT",
"title" : "Clamp Rest API"
},
- "host" : "localhost:
37295
",
+ "host" : "localhost:
46347
",
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
"/v2/dictionary" : {
"get" : {
"basePath" : "/restservices/clds/",
"schemes" : [ "http" ],
"paths" : {
"/v2/dictionary" : {
"get" : {
- "operationId" : "route
18
",
+ "operationId" : "route
49
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-20,11
+20,11
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
18
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
49
"
},
"put" : {
},
"put" : {
- "operationId" : "route
20
",
+ "operationId" : "route
51
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-43,8
+43,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
20
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
51
"
}
},
"/v2/dictionary/{dictionaryName}" : {
}
},
"/v2/dictionary/{dictionaryName}" : {
@@
-64,7
+64,7
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
}
},
"x-routeId" : null
}
},
@@
-93,11
+93,11
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
},
"delete" : {
"x-routeId" : null
},
"delete" : {
- "operationId" : "route
22
",
+ "operationId" : "route
53
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "name",
@@
-108,8
+108,8
@@
"responses" : {
"200" : { }
},
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
22
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
53
"
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
}
},
"/v2/dictionary/{name}/elements/{shortName}" : {
@@
-129,7
+129,7
@@
"responses" : {
"200" : { }
},
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
}
},
"x-routeId" : null
}
},
@@
-147,13
+147,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
}
},
"/v2/loop/{loopName}" : {
"get" : {
"x-routeId" : null
}
},
"/v2/loop/{loopName}" : {
"get" : {
- "operationId" : "route3",
+ "operationId" : "route3
4
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-169,13
+169,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route3"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route3
4
"
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
}
},
"/v2/loop/delete/{loopName}" : {
"put" : {
- "operationId" : "route
14
",
+ "operationId" : "route
45
",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
"parameters" : [ {
"name" : "loopName",
"in" : "path",
@@
-185,13
+185,13
@@
"responses" : {
"200" : { }
},
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
14
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
45
"
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
}
},
"/v2/loop/deploy/{loopName}" : {
"put" : {
- "operationId" : "route
8
",
+ "operationId" : "route
39
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-207,13
+207,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
8
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
39
"
}
},
"/v2/loop/getAllNames" : {
"get" : {
}
},
"/v2/loop/getAllNames" : {
"get" : {
- "operationId" : "route
2
",
+ "operationId" : "route
33
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-226,13
+226,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
2
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
33
"
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
}
},
"/v2/loop/getstatus/{loopName}" : {
"get" : {
- "operationId" : "route
15
",
+ "operationId" : "route
46
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-248,13
+248,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
15
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
46
"
}
},
"/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
"put" : {
}
},
"/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
"put" : {
- "operationId" : "route
9
",
+ "operationId" : "route
40
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-270,13
+270,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
9
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
40
"
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
}
},
"/v2/loop/restart/{loopName}" : {
"put" : {
- "operationId" : "route
12
",
+ "operationId" : "route
43
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-292,13
+292,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
12
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
43
"
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
}
},
"/v2/loop/stop/{loopName}" : {
"put" : {
- "operationId" : "route
11
",
+ "operationId" : "route
42
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-314,13
+314,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
11
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
42
"
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
}
},
"/v2/loop/submit/{loopName}" : {
"put" : {
- "operationId" : "route
13
",
+ "operationId" : "route
44
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-336,13
+336,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
13
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
44
"
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
}
},
"/v2/loop/svgRepresentation/{loopName}" : {
"get" : {
- "operationId" : "route
4
",
+ "operationId" : "route
35
",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/xml" ],
"parameters" : [ {
"name" : "loopName",
@@
-358,13
+358,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
4
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
35
"
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
}
},
"/v2/loop/undeploy/{loopName}" : {
"put" : {
- "operationId" : "route
10
",
+ "operationId" : "route
41
",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "loopName",
@@
-380,13
+380,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
10
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
41
"
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
}
},
"/v2/loop/updateGlobalProperties/{loopName}" : {
"post" : {
- "operationId" : "route
5
",
+ "operationId" : "route
36
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-410,13
+410,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
5
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
36
"
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
}
},
"/v2/loop/updateMicroservicePolicy/{loopName}" : {
"post" : {
- "operationId" : "route
7
",
+ "operationId" : "route
38
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-440,13
+440,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
7
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
38
"
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
}
},
"/v2/loop/updateOperationalPolicies/{loopName}" : {
"post" : {
- "operationId" : "route
6
",
+ "operationId" : "route
37
",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-470,13
+470,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
6
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
37
"
}
},
"/v2/policyToscaModels" : {
"get" : {
}
},
"/v2/policyToscaModels" : {
"get" : {
- "operationId" : "route
25
",
+ "operationId" : "route
56
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-486,8
+486,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
25
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
56
"
}
},
"/v2/policyToscaModels/{policyModelType}" : {
}
},
"/v2/policyToscaModels/{policyModelType}" : {
@@
-507,11
+507,11
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
},
"put" : {
"x-routeId" : null
},
"put" : {
- "operationId" : "route
26
",
+ "operationId" : "route
57
",
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"consumes" : [ "plain/text" ],
"produces" : [ "application/json" ],
"parameters" : [ {
@@
-535,8
+535,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
26
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
57
"
}
},
"/v2/policyToscaModels/yaml/{policyModelType}" : {
}
},
"/v2/policyToscaModels/yaml/{policyModelType}" : {
@@
-556,13
+556,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
}
},
"/v2/templates" : {
"get" : {
"x-routeId" : null
}
},
"/v2/templates" : {
"get" : {
- "operationId" : "route
29
",
+ "operationId" : "route
60
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-572,8
+572,8
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
29
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
60
"
}
},
"/v2/templates/{templateName}" : {
}
},
"/v2/templates/{templateName}" : {
@@
-593,7
+593,7
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
}
},
"x-routeId" : null
}
},
@@
-611,13
+611,13
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
+ "x-camelContextId" : "camel-
2
",
"x-routeId" : null
}
},
"/v1/healthcheck" : {
"get" : {
"x-routeId" : null
}
},
"/v1/healthcheck" : {
"get" : {
- "operationId" : "route
30
",
+ "operationId" : "route
61
",
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
@@
-627,19
+627,19
@@
}
}
},
}
}
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
30
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
61
"
}
},
"/v1/user/getUser" : {
"get" : {
}
},
"/v1/user/getUser" : {
"get" : {
- "operationId" : "route
31
",
+ "operationId" : "route
62
",
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
"produces" : [ "text/plain" ],
"responses" : {
"200" : { }
},
- "x-camelContextId" : "camel-
1
",
- "x-routeId" : "route
31
"
+ "x-camelContextId" : "camel-
2
",
+ "x-routeId" : "route
62
"
}
}
},
}
}
},
@@
-803,33
+803,29
@@
"JsonPrimitive" : {
"type" : "object",
"properties" : {
"JsonPrimitive" : {
"type" : "object",
"properties" : {
- "asBoolean" : {
- "type" : "boolean"
- },
- "number" : {
- "type" : "boolean"
- },
- "asString" : {
- "type" : "string"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"asDouble" : {
"type" : "number",
"format" : "double"
},
},
"asDouble" : {
"type" : "number",
"format" : "double"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
},
"asLong" : {
"type" : "integer",
"format" : "int64"
},
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
+ "boolean" : {
+ "type" : "boolean"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "number" : {
+ "type" : "boolean"
+ },
+ "asString" : {
+ "type" : "string"
},
"asByte" : {
"type" : "string",
},
"asByte" : {
"type" : "string",
@@
-838,6
+834,10
@@
"asCharacter" : {
"type" : "string"
},
"asCharacter" : {
"type" : "string"
},
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asBigDecimal" : {
"type" : "number"
},
"asBigDecimal" : {
"type" : "number"
},
@@
-848,33
+848,33
@@
"type" : "integer",
"format" : "int32"
},
"type" : "integer",
"format" : "int32"
},
- "
boolean
" : {
- "
type" : "boolean
"
+ "
asNumber
" : {
+ "
$ref" : "#/definitions/Number
"
},
"string" : {
"type" : "boolean"
},
},
"string" : {
"type" : "boolean"
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
- },
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "jsonArray" : {
- "type" : "boolean"
- },
"jsonObject" : {
"type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "
jsonPrimitive
" : {
- "
type" : "boolean
"
+ "
asJsonArray
" : {
+ "
$ref" : "#/definitions/JsonArray
"
},
"jsonNull" : {
"type" : "boolean"
},
},
"jsonNull" : {
"type" : "boolean"
},
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
+ "jsonArray" : {
+ "type" : "boolean"
+ },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
@@
-909,9
+909,12
@@
"pdpGroup" : {
"type" : "string"
},
"pdpGroup" : {
"type" : "string"
},
- "pdpSub
G
roup" : {
+ "pdpSub
g
roup" : {
"type" : "string"
},
"type" : "string"
},
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
@@
-939,9
+942,6
@@
},
"dcaeBlueprintId" : {
"type" : "string"
},
"dcaeBlueprintId" : {
"type" : "string"
- },
- "policyModel" : {
- "$ref" : "#/definitions/PolicyModel"
}
},
"x-className" : {
}
},
"x-className" : {
@@
-952,54
+952,44
@@
"JsonObject" : {
"type" : "object",
"properties" : {
"JsonObject" : {
"type" : "object",
"properties" : {
- "asBoolean" : {
- "type" : "boolean"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
},
- "asString" : {
- "type" : "string"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "
jsonArray
" : {
- "type" : "
boolean
"
+ "
asString
" : {
+ "type" : "
string
"
},
"jsonObject" : {
"type" : "boolean"
},
},
"jsonObject" : {
"type" : "boolean"
},
- "
jsonPrimitive
" : {
- "
type" : "boolean
"
+ "
asJsonArray
" : {
+ "
$ref" : "#/definitions/JsonArray
"
},
"jsonNull" : {
"type" : "boolean"
},
},
"jsonNull" : {
"type" : "boolean"
},
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"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"
+ "jsonArray" : {
+ "type" : "boolean"
},
"asByte" : {
"type" : "string",
},
"asByte" : {
"type" : "string",
@@
-1008,6
+998,13
@@
"asCharacter" : {
"type" : "string"
},
"asCharacter" : {
"type" : "string"
},
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asBigDecimal" : {
"type" : "number"
},
"asBigDecimal" : {
"type" : "number"
},
@@
-1017,6
+1014,9
@@
"asShort" : {
"type" : "integer",
"format" : "int32"
"asShort" : {
"type" : "integer",
"format" : "int32"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
}
},
"x-className" : {
}
},
"x-className" : {
@@
-1133,71
+1133,64
@@
"pdpGroup" : {
"type" : "string"
},
"pdpGroup" : {
"type" : "string"
},
- "pdpSub
G
roup" : {
+ "pdpSub
g
roup" : {
"type" : "string"
},
"type" : "string"
},
+ "policyModel" : {
+ "$ref" : "#/definitions/PolicyModel"
+ },
"name" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
"name" : {
"type" : "string"
},
"loop" : {
"$ref" : "#/definitions/Loop"
},
- "
policyModel
" : {
- "
$ref" : "#/definitions/PolicyModel
"
+ "
legacy
" : {
+ "
type" : "boolean
"
}
}
},
"JsonNull" : {
"type" : "object",
"properties" : {
}
}
},
"JsonNull" : {
"type" : "object",
"properties" : {
- "asBoolean" : {
- "type" : "boolean"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
},
- "asString" : {
- "type" : "string"
+ "asDouble" : {
+ "type" : "number",
+ "format" : "double"
},
},
- "asJsonArray" : {
- "$ref" : "#/definitions/JsonArray"
+ "asLong" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "asBoolean" : {
+ "type" : "boolean"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "
jsonArray
" : {
- "type" : "
boolean
"
+ "
asString
" : {
+ "type" : "
string
"
},
"jsonObject" : {
"type" : "boolean"
},
},
"jsonObject" : {
"type" : "boolean"
},
- "
jsonPrimitive
" : {
- "
type" : "boolean
"
+ "
asJsonArray
" : {
+ "
$ref" : "#/definitions/JsonArray
"
},
"jsonNull" : {
"type" : "boolean"
},
},
"jsonNull" : {
"type" : "boolean"
},
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"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"
+ "jsonArray" : {
+ "type" : "boolean"
},
"asByte" : {
"type" : "string",
},
"asByte" : {
"type" : "string",
@@
-1206,6
+1199,13
@@
"asCharacter" : {
"type" : "string"
},
"asCharacter" : {
"type" : "string"
},
+ "asJsonNull" : {
+ "$ref" : "#/definitions/JsonNull"
+ },
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asBigDecimal" : {
"type" : "number"
},
"asBigDecimal" : {
"type" : "number"
},
@@
-1215,36
+1215,32
@@
"asShort" : {
"type" : "integer",
"format" : "int32"
"asShort" : {
"type" : "integer",
"format" : "int32"
+ },
+ "asNumber" : {
+ "$ref" : "#/definitions/Number"
}
}
},
"JsonArray" : {
"type" : "object",
"properties" : {
}
}
},
"JsonArray" : {
"type" : "object",
"properties" : {
- "asBoolean" : {
- "type" : "boolean"
- },
- "asString" : {
- "type" : "string"
- },
- "asNumber" : {
- "$ref" : "#/definitions/Number"
+ "asInt" : {
+ "type" : "integer",
+ "format" : "int32"
},
"asDouble" : {
"type" : "number",
"format" : "double"
},
},
"asDouble" : {
"type" : "number",
"format" : "double"
},
- "asFloat" : {
- "type" : "number",
- "format" : "float"
- },
"asLong" : {
"type" : "integer",
"format" : "int64"
},
"asLong" : {
"type" : "integer",
"format" : "int64"
},
- "asInt" : {
- "type" : "integer",
- "format" : "int32"
+ "asBoolean" : {
+ "type" : "boolean"
+ },
+ "asString" : {
+ "type" : "string"
},
"asByte" : {
"type" : "string",
},
"asByte" : {
"type" : "string",
@@
-1253,6
+1249,10
@@
"asCharacter" : {
"type" : "string"
},
"asCharacter" : {
"type" : "string"
},
+ "asFloat" : {
+ "type" : "number",
+ "format" : "float"
+ },
"asBigDecimal" : {
"type" : "number"
},
"asBigDecimal" : {
"type" : "number"
},
@@
-1263,27
+1263,30
@@
"type" : "integer",
"format" : "int32"
},
"type" : "integer",
"format" : "int32"
},
- "as
JsonArray
" : {
- "$ref" : "#/definitions/
JsonArray
"
+ "as
Number
" : {
+ "$ref" : "#/definitions/
Number
"
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
},
"asJsonObject" : {
"$ref" : "#/definitions/JsonObject"
},
- "jsonArray" : {
- "type" : "boolean"
- },
"jsonObject" : {
"type" : "boolean"
},
"jsonObject" : {
"type" : "boolean"
},
- "
jsonPrimitive
" : {
- "
type" : "boolean
"
+ "
asJsonArray
" : {
+ "
$ref" : "#/definitions/JsonArray
"
},
"jsonNull" : {
"type" : "boolean"
},
},
"jsonNull" : {
"type" : "boolean"
},
+ "jsonPrimitive" : {
+ "type" : "boolean"
+ },
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
"asJsonPrimitive" : {
"$ref" : "#/definitions/JsonPrimitive"
},
+ "jsonArray" : {
+ "type" : "boolean"
+ },
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}
"asJsonNull" : {
"$ref" : "#/definitions/JsonNull"
}