You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/02/18 10:50:40 UTC
[camel] 06/07: CAMEL-17673: camel-core-model - Cleanup Rest DSL
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c5c7db2020c65f9ac72d630bd0ffdc318722d45b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 18 11:03:54 2022 +0100
CAMEL-17673: camel-core-model - Cleanup Rest DSL
---
.../dsl/yaml/deserializers/ModelDeserializers.java | 96 +++++++++++++++-------
.../src/generated/resources/camel-yaml-dsl.json | 66 +++++++++------
.../src/generated/resources/camelYamlDsl.json | 66 +++++++++------
3 files changed, 150 insertions(+), 78 deletions(-)
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
index e3fb3e1..a850823 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
@@ -3978,22 +3978,23 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
order = org.apache.camel.dsl.yaml.common.YamlDeserializerResolver.ORDER_LOWEST - 1,
nodes = "delete",
properties = {
- @YamlProperty(name = "api-docs", type = "string"),
+ @YamlProperty(name = "api-docs", type = "boolean"),
@YamlProperty(name = "binding-mode", type = "string"),
- @YamlProperty(name = "client-request-validation", type = "string"),
+ @YamlProperty(name = "client-request-validation", type = "boolean"),
@YamlProperty(name = "consumes", type = "string"),
@YamlProperty(name = "deprecated", type = "boolean"),
@YamlProperty(name = "description", type = "string"),
- @YamlProperty(name = "enable-cors", type = "string"),
+ @YamlProperty(name = "enable-cors", type = "boolean"),
@YamlProperty(name = "id", type = "string"),
@YamlProperty(name = "out-type", type = "string"),
@YamlProperty(name = "param", type = "array:org.apache.camel.model.rest.RestOperationParamDefinition"),
+ @YamlProperty(name = "path", type = "string"),
@YamlProperty(name = "produces", type = "string"),
@YamlProperty(name = "response-message", type = "array:org.apache.camel.model.rest.RestOperationResponseMsgDefinition"),
@YamlProperty(name = "route", type = "object:org.apache.camel.model.RouteDefinition"),
@YamlProperty(name = "route-id", type = "string"),
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition"),
- @YamlProperty(name = "skip-binding-on-error-code", type = "string"),
+ @YamlProperty(name = "skip-binding-on-error-code", type = "boolean"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition"),
@YamlProperty(name = "to-d", type = "object:org.apache.camel.model.ToDynamicDefinition"),
@@ -4037,7 +4038,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
}
case "deprecated": {
String val = asText(node);
- target.setDeprecated(java.lang.Boolean.valueOf(val));
+ target.setDeprecated(val);
break;
}
case "enable-cors": {
@@ -4055,6 +4056,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
target.setParams(val);
break;
}
+ case "path": {
+ String val = asText(node);
+ target.setPath(val);
+ break;
+ }
case "produces": {
String val = asText(node);
target.setProduces(val);
@@ -5349,22 +5355,23 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
order = org.apache.camel.dsl.yaml.common.YamlDeserializerResolver.ORDER_LOWEST - 1,
nodes = "get",
properties = {
- @YamlProperty(name = "api-docs", type = "string"),
+ @YamlProperty(name = "api-docs", type = "boolean"),
@YamlProperty(name = "binding-mode", type = "string"),
- @YamlProperty(name = "client-request-validation", type = "string"),
+ @YamlProperty(name = "client-request-validation", type = "boolean"),
@YamlProperty(name = "consumes", type = "string"),
@YamlProperty(name = "deprecated", type = "boolean"),
@YamlProperty(name = "description", type = "string"),
- @YamlProperty(name = "enable-cors", type = "string"),
+ @YamlProperty(name = "enable-cors", type = "boolean"),
@YamlProperty(name = "id", type = "string"),
@YamlProperty(name = "out-type", type = "string"),
@YamlProperty(name = "param", type = "array:org.apache.camel.model.rest.RestOperationParamDefinition"),
+ @YamlProperty(name = "path", type = "string"),
@YamlProperty(name = "produces", type = "string"),
@YamlProperty(name = "response-message", type = "array:org.apache.camel.model.rest.RestOperationResponseMsgDefinition"),
@YamlProperty(name = "route", type = "object:org.apache.camel.model.RouteDefinition"),
@YamlProperty(name = "route-id", type = "string"),
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition"),
- @YamlProperty(name = "skip-binding-on-error-code", type = "string"),
+ @YamlProperty(name = "skip-binding-on-error-code", type = "boolean"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition"),
@YamlProperty(name = "to-d", type = "object:org.apache.camel.model.ToDynamicDefinition"),
@@ -5408,7 +5415,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
}
case "deprecated": {
String val = asText(node);
- target.setDeprecated(java.lang.Boolean.valueOf(val));
+ target.setDeprecated(val);
break;
}
case "enable-cors": {
@@ -5426,6 +5433,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
target.setParams(val);
break;
}
+ case "path": {
+ String val = asText(node);
+ target.setPath(val);
+ break;
+ }
case "produces": {
String val = asText(node);
target.setProduces(val);
@@ -5786,22 +5798,23 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
order = org.apache.camel.dsl.yaml.common.YamlDeserializerResolver.ORDER_LOWEST - 1,
nodes = "head",
properties = {
- @YamlProperty(name = "api-docs", type = "string"),
+ @YamlProperty(name = "api-docs", type = "boolean"),
@YamlProperty(name = "binding-mode", type = "string"),
- @YamlProperty(name = "client-request-validation", type = "string"),
+ @YamlProperty(name = "client-request-validation", type = "boolean"),
@YamlProperty(name = "consumes", type = "string"),
@YamlProperty(name = "deprecated", type = "boolean"),
@YamlProperty(name = "description", type = "string"),
- @YamlProperty(name = "enable-cors", type = "string"),
+ @YamlProperty(name = "enable-cors", type = "boolean"),
@YamlProperty(name = "id", type = "string"),
@YamlProperty(name = "out-type", type = "string"),
@YamlProperty(name = "param", type = "array:org.apache.camel.model.rest.RestOperationParamDefinition"),
+ @YamlProperty(name = "path", type = "string"),
@YamlProperty(name = "produces", type = "string"),
@YamlProperty(name = "response-message", type = "array:org.apache.camel.model.rest.RestOperationResponseMsgDefinition"),
@YamlProperty(name = "route", type = "object:org.apache.camel.model.RouteDefinition"),
@YamlProperty(name = "route-id", type = "string"),
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition"),
- @YamlProperty(name = "skip-binding-on-error-code", type = "string"),
+ @YamlProperty(name = "skip-binding-on-error-code", type = "boolean"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition"),
@YamlProperty(name = "to-d", type = "object:org.apache.camel.model.ToDynamicDefinition"),
@@ -5845,7 +5858,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
}
case "deprecated": {
String val = asText(node);
- target.setDeprecated(java.lang.Boolean.valueOf(val));
+ target.setDeprecated(val);
break;
}
case "enable-cors": {
@@ -5863,6 +5876,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
target.setParams(val);
break;
}
+ case "path": {
+ String val = asText(node);
+ target.setPath(val);
+ break;
+ }
case "produces": {
String val = asText(node);
target.setProduces(val);
@@ -9564,22 +9582,23 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
order = org.apache.camel.dsl.yaml.common.YamlDeserializerResolver.ORDER_LOWEST - 1,
nodes = "patch",
properties = {
- @YamlProperty(name = "api-docs", type = "string"),
+ @YamlProperty(name = "api-docs", type = "boolean"),
@YamlProperty(name = "binding-mode", type = "string"),
- @YamlProperty(name = "client-request-validation", type = "string"),
+ @YamlProperty(name = "client-request-validation", type = "boolean"),
@YamlProperty(name = "consumes", type = "string"),
@YamlProperty(name = "deprecated", type = "boolean"),
@YamlProperty(name = "description", type = "string"),
- @YamlProperty(name = "enable-cors", type = "string"),
+ @YamlProperty(name = "enable-cors", type = "boolean"),
@YamlProperty(name = "id", type = "string"),
@YamlProperty(name = "out-type", type = "string"),
@YamlProperty(name = "param", type = "array:org.apache.camel.model.rest.RestOperationParamDefinition"),
+ @YamlProperty(name = "path", type = "string"),
@YamlProperty(name = "produces", type = "string"),
@YamlProperty(name = "response-message", type = "array:org.apache.camel.model.rest.RestOperationResponseMsgDefinition"),
@YamlProperty(name = "route", type = "object:org.apache.camel.model.RouteDefinition"),
@YamlProperty(name = "route-id", type = "string"),
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition"),
- @YamlProperty(name = "skip-binding-on-error-code", type = "string"),
+ @YamlProperty(name = "skip-binding-on-error-code", type = "boolean"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition"),
@YamlProperty(name = "to-d", type = "object:org.apache.camel.model.ToDynamicDefinition"),
@@ -9623,7 +9642,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
}
case "deprecated": {
String val = asText(node);
- target.setDeprecated(java.lang.Boolean.valueOf(val));
+ target.setDeprecated(val);
break;
}
case "enable-cors": {
@@ -9641,6 +9660,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
target.setParams(val);
break;
}
+ case "path": {
+ String val = asText(node);
+ target.setPath(val);
+ break;
+ }
case "produces": {
String val = asText(node);
target.setProduces(val);
@@ -9941,22 +9965,23 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
order = org.apache.camel.dsl.yaml.common.YamlDeserializerResolver.ORDER_LOWEST - 1,
nodes = "post",
properties = {
- @YamlProperty(name = "api-docs", type = "string"),
+ @YamlProperty(name = "api-docs", type = "boolean"),
@YamlProperty(name = "binding-mode", type = "string"),
- @YamlProperty(name = "client-request-validation", type = "string"),
+ @YamlProperty(name = "client-request-validation", type = "boolean"),
@YamlProperty(name = "consumes", type = "string"),
@YamlProperty(name = "deprecated", type = "boolean"),
@YamlProperty(name = "description", type = "string"),
- @YamlProperty(name = "enable-cors", type = "string"),
+ @YamlProperty(name = "enable-cors", type = "boolean"),
@YamlProperty(name = "id", type = "string"),
@YamlProperty(name = "out-type", type = "string"),
@YamlProperty(name = "param", type = "array:org.apache.camel.model.rest.RestOperationParamDefinition"),
+ @YamlProperty(name = "path", type = "string"),
@YamlProperty(name = "produces", type = "string"),
@YamlProperty(name = "response-message", type = "array:org.apache.camel.model.rest.RestOperationResponseMsgDefinition"),
@YamlProperty(name = "route", type = "object:org.apache.camel.model.RouteDefinition"),
@YamlProperty(name = "route-id", type = "string"),
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition"),
- @YamlProperty(name = "skip-binding-on-error-code", type = "string"),
+ @YamlProperty(name = "skip-binding-on-error-code", type = "boolean"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition"),
@YamlProperty(name = "to-d", type = "object:org.apache.camel.model.ToDynamicDefinition"),
@@ -10000,7 +10025,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
}
case "deprecated": {
String val = asText(node);
- target.setDeprecated(java.lang.Boolean.valueOf(val));
+ target.setDeprecated(val);
break;
}
case "enable-cors": {
@@ -10018,6 +10043,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
target.setParams(val);
break;
}
+ case "path": {
+ String val = asText(node);
+ target.setPath(val);
+ break;
+ }
case "produces": {
String val = asText(node);
target.setProduces(val);
@@ -10444,22 +10474,23 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
order = org.apache.camel.dsl.yaml.common.YamlDeserializerResolver.ORDER_LOWEST - 1,
nodes = "put",
properties = {
- @YamlProperty(name = "api-docs", type = "string"),
+ @YamlProperty(name = "api-docs", type = "boolean"),
@YamlProperty(name = "binding-mode", type = "string"),
- @YamlProperty(name = "client-request-validation", type = "string"),
+ @YamlProperty(name = "client-request-validation", type = "boolean"),
@YamlProperty(name = "consumes", type = "string"),
@YamlProperty(name = "deprecated", type = "boolean"),
@YamlProperty(name = "description", type = "string"),
- @YamlProperty(name = "enable-cors", type = "string"),
+ @YamlProperty(name = "enable-cors", type = "boolean"),
@YamlProperty(name = "id", type = "string"),
@YamlProperty(name = "out-type", type = "string"),
@YamlProperty(name = "param", type = "array:org.apache.camel.model.rest.RestOperationParamDefinition"),
+ @YamlProperty(name = "path", type = "string"),
@YamlProperty(name = "produces", type = "string"),
@YamlProperty(name = "response-message", type = "array:org.apache.camel.model.rest.RestOperationResponseMsgDefinition"),
@YamlProperty(name = "route", type = "object:org.apache.camel.model.RouteDefinition"),
@YamlProperty(name = "route-id", type = "string"),
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition"),
- @YamlProperty(name = "skip-binding-on-error-code", type = "string"),
+ @YamlProperty(name = "skip-binding-on-error-code", type = "boolean"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition"),
@YamlProperty(name = "to-d", type = "object:org.apache.camel.model.ToDynamicDefinition"),
@@ -10503,7 +10534,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
}
case "deprecated": {
String val = asText(node);
- target.setDeprecated(java.lang.Boolean.valueOf(val));
+ target.setDeprecated(val);
break;
}
case "enable-cors": {
@@ -10521,6 +10552,11 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
target.setParams(val);
break;
}
+ case "path": {
+ String val = asText(node);
+ target.setPath(val);
+ break;
+ }
case "produces": {
String val = asText(node);
target.setProduces(val);
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json
index 2b854dd..54be238 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json
@@ -6548,13 +6548,13 @@
"type" : "object",
"properties" : {
"api-docs" : {
- "type" : "string"
+ "type" : "boolean"
},
"binding-mode" : {
"type" : "string"
},
"client-request-validation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6566,7 +6566,7 @@
"type" : "string"
},
"enable-cors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6580,6 +6580,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6602,7 +6605,7 @@
}
},
"skip-binding-on-error-code" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6628,13 +6631,13 @@
"type" : "object",
"properties" : {
"api-docs" : {
- "type" : "string"
+ "type" : "boolean"
},
"binding-mode" : {
"type" : "string"
},
"client-request-validation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6646,7 +6649,7 @@
"type" : "string"
},
"enable-cors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6660,6 +6663,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6682,7 +6688,7 @@
}
},
"skip-binding-on-error-code" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6708,13 +6714,13 @@
"type" : "object",
"properties" : {
"api-docs" : {
- "type" : "string"
+ "type" : "boolean"
},
"binding-mode" : {
"type" : "string"
},
"client-request-validation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6726,7 +6732,7 @@
"type" : "string"
},
"enable-cors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6740,6 +6746,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6762,7 +6771,7 @@
}
},
"skip-binding-on-error-code" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6788,13 +6797,13 @@
"type" : "object",
"properties" : {
"api-docs" : {
- "type" : "string"
+ "type" : "boolean"
},
"binding-mode" : {
"type" : "string"
},
"client-request-validation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6806,7 +6815,7 @@
"type" : "string"
},
"enable-cors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6820,6 +6829,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6842,7 +6854,7 @@
}
},
"skip-binding-on-error-code" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6868,13 +6880,13 @@
"type" : "object",
"properties" : {
"api-docs" : {
- "type" : "string"
+ "type" : "boolean"
},
"binding-mode" : {
"type" : "string"
},
"client-request-validation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6886,7 +6898,7 @@
"type" : "string"
},
"enable-cors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6900,6 +6912,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6922,7 +6937,7 @@
}
},
"skip-binding-on-error-code" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6948,13 +6963,13 @@
"type" : "object",
"properties" : {
"api-docs" : {
- "type" : "string"
+ "type" : "boolean"
},
"binding-mode" : {
"type" : "string"
},
"client-request-validation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6966,7 +6981,7 @@
"type" : "string"
},
"enable-cors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6980,6 +6995,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -7002,7 +7020,7 @@
}
},
"skip-binding-on-error-code" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camelYamlDsl.json b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camelYamlDsl.json
index 84b0c9d..f34f2a7 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camelYamlDsl.json
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/camelYamlDsl.json
@@ -6446,13 +6446,13 @@
"type" : "object",
"properties" : {
"apiDocs" : {
- "type" : "string"
+ "type" : "boolean"
},
"bindingMode" : {
"type" : "string"
},
"clientRequestValidation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6464,7 +6464,7 @@
"type" : "string"
},
"enableCors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6478,6 +6478,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6500,7 +6503,7 @@
}
},
"skipBindingOnErrorCode" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6526,13 +6529,13 @@
"type" : "object",
"properties" : {
"apiDocs" : {
- "type" : "string"
+ "type" : "boolean"
},
"bindingMode" : {
"type" : "string"
},
"clientRequestValidation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6544,7 +6547,7 @@
"type" : "string"
},
"enableCors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6558,6 +6561,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6580,7 +6586,7 @@
}
},
"skipBindingOnErrorCode" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6606,13 +6612,13 @@
"type" : "object",
"properties" : {
"apiDocs" : {
- "type" : "string"
+ "type" : "boolean"
},
"bindingMode" : {
"type" : "string"
},
"clientRequestValidation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6624,7 +6630,7 @@
"type" : "string"
},
"enableCors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6638,6 +6644,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6660,7 +6669,7 @@
}
},
"skipBindingOnErrorCode" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6686,13 +6695,13 @@
"type" : "object",
"properties" : {
"apiDocs" : {
- "type" : "string"
+ "type" : "boolean"
},
"bindingMode" : {
"type" : "string"
},
"clientRequestValidation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6704,7 +6713,7 @@
"type" : "string"
},
"enableCors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6718,6 +6727,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6740,7 +6752,7 @@
}
},
"skipBindingOnErrorCode" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6766,13 +6778,13 @@
"type" : "object",
"properties" : {
"apiDocs" : {
- "type" : "string"
+ "type" : "boolean"
},
"bindingMode" : {
"type" : "string"
},
"clientRequestValidation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6784,7 +6796,7 @@
"type" : "string"
},
"enableCors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6798,6 +6810,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6820,7 +6835,7 @@
}
},
"skipBindingOnErrorCode" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",
@@ -6846,13 +6861,13 @@
"type" : "object",
"properties" : {
"apiDocs" : {
- "type" : "string"
+ "type" : "boolean"
},
"bindingMode" : {
"type" : "string"
},
"clientRequestValidation" : {
- "type" : "string"
+ "type" : "boolean"
},
"consumes" : {
"type" : "string"
@@ -6864,7 +6879,7 @@
"type" : "string"
},
"enableCors" : {
- "type" : "string"
+ "type" : "boolean"
},
"id" : {
"type" : "string"
@@ -6878,6 +6893,9 @@
"$ref" : "#/items/definitions/org.apache.camel.model.rest.RestOperationParamDefinition"
}
},
+ "path" : {
+ "type" : "string"
+ },
"produces" : {
"type" : "string"
},
@@ -6900,7 +6918,7 @@
}
},
"skipBindingOnErrorCode" : {
- "type" : "string"
+ "type" : "boolean"
},
"steps" : {
"type" : "array",