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 2026/07/11 08:41:55 UTC
(camel) 13/15: CAMEL-23983: camel-yaml-dsl - Regenerate schema and deserializers after required/deprecated/secret fix
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch worktree-snazzy-petting-map
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2b4b23efb2cb74b15b98b419d48fc35f28906a1a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jul 11 10:36:13 2026 +0200
CAMEL-23983: camel-yaml-dsl - Regenerate schema and deserializers after required/deprecated/secret fix
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
Signed-off-by: Claus Ibsen <cl...@gmail.com>
---
.../dsl/yaml/deserializers/ModelDeserializers.java | 36 ++++++-------
.../resources/schema/camelYamlDsl-canonical.json | 61 +++++++++++++++-------
.../generated/resources/schema/camelYamlDsl.json | 60 ++++++++++++++-------
3 files changed, 101 insertions(+), 56 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 9100e8858fd7..49e692108309 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
@@ -1605,7 +1605,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "defaultValueStringAsNull", type = "boolean", defaultValue = "false", description = "To change the default value for string types to be null instead of an empty string.", displayName = "Default Value String As Null"),
@YamlProperty(name = "id", type = "string", description = "The id of this node", displayName = "Id"),
@YamlProperty(name = "locale", type = "string", description = "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default.", displayName = "Locale"),
- @YamlProperty(name = "type", type = "enum:Csv,Fixed,KeyValue", description = "Whether to use Csv, Fixed, or KeyValue.", displayName = "Type"),
+ @YamlProperty(name = "type", type = "enum:Csv,Fixed,KeyValue", required = true, description = "Whether to use Csv, Fixed, or KeyValue.", displayName = "Type"),
@YamlProperty(name = "unwrapSingleInstance", type = "boolean", defaultValue = "true", description = "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.", displayName = "Unwrap Single Instance")
}
)
@@ -2107,7 +2107,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "id", type = "string", description = "The id of this node", displayName = "Id"),
@YamlProperty(name = "key", type = "string", description = "The unique claim check key to use for Get, GetAndRemove, and Set operations.", displayName = "Key"),
@YamlProperty(name = "note", type = "string", description = "The note for this node", displayName = "Note"),
- @YamlProperty(name = "operation", type = "enum:Get,GetAndRemove,Set,Push,Pop", description = "The claim check operation to use. Get=retrieve, GetAndRemove=retrieve and remove, Set=store with key, Push=store on stack, Pop=retrieve from stack.", displayName = "Operation")
+ @YamlProperty(name = "operation", type = "enum:Get,GetAndRemove,Set,Push,Pop", required = true, description = "The claim check operation to use. Get=retrieve, GetAndRemove=retrieve and remove, Set=store with key, Push=store on stack, Pop=retrieve from stack.", displayName = "Operation")
}
)
public static class ClaimCheckDefinitionDeserializer extends YamlDeserializerBase<ClaimCheckDefinition> {
@@ -4510,7 +4510,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition", description = "Security settings for this REST operation", displayName = "Security"),
@YamlProperty(name = "skipBindingOnErrorCode", type = "boolean", defaultValue = "false", description = "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level.", displayName = "Skip Binding On Error Code"),
@YamlProperty(name = "streamCache", type = "boolean", defaultValue = "false", description = "Whether stream caching is enabled on this rest operation.", displayName = "Stream Cache"),
- @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
+ @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", required = true, description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
@YamlProperty(name = "type", type = "string", description = "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level.", displayName = "Type")
}
)
@@ -6010,7 +6010,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition", description = "Security settings for this REST operation", displayName = "Security"),
@YamlProperty(name = "skipBindingOnErrorCode", type = "boolean", defaultValue = "false", description = "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level.", displayName = "Skip Binding On Error Code"),
@YamlProperty(name = "streamCache", type = "boolean", defaultValue = "false", description = "Whether stream caching is enabled on this rest operation.", displayName = "Stream Cache"),
- @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
+ @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", required = true, description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
@YamlProperty(name = "type", type = "string", description = "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level.", displayName = "Type")
}
)
@@ -6582,7 +6582,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition", description = "Security settings for this REST operation", displayName = "Security"),
@YamlProperty(name = "skipBindingOnErrorCode", type = "boolean", defaultValue = "false", description = "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level.", displayName = "Skip Binding On Error Code"),
@YamlProperty(name = "streamCache", type = "boolean", defaultValue = "false", description = "Whether stream caching is enabled on this rest operation.", displayName = "Stream Cache"),
- @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
+ @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", required = true, description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
@YamlProperty(name = "type", type = "string", description = "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level.", displayName = "Type")
}
)
@@ -8529,7 +8529,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "maxOverlap", type = "number", required = true, description = "The maximum number of tokens that can overlap in each segment.", displayName = "Max Overlap"),
@YamlProperty(name = "maxTokens", type = "number", required = true, description = "The maximum number of tokens on each segment.", displayName = "Max Tokens"),
@YamlProperty(name = "modelName", type = "string", description = "The underlying model name used by the tokenizer. Providing this switches to computing segment sizes in terms of tokens.", displayName = "Model Name"),
- @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
+ @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", required = true, description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
}
)
public static class LangChain4jCharacterTokenizerDefinitionDeserializer extends YamlDeserializerBase<LangChain4jCharacterTokenizerDefinition> {
@@ -8592,7 +8592,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "maxOverlap", type = "number", required = true, description = "The maximum number of tokens that can overlap in each segment.", displayName = "Max Overlap"),
@YamlProperty(name = "maxTokens", type = "number", required = true, description = "The maximum number of tokens on each segment.", displayName = "Max Tokens"),
@YamlProperty(name = "modelName", type = "string", description = "The underlying model name used by the tokenizer. Providing this switches to computing segment sizes in terms of tokens.", displayName = "Model Name"),
- @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
+ @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", required = true, description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
}
)
public static class LangChain4jLineTokenizerDefinitionDeserializer extends YamlDeserializerBase<LangChain4jLineTokenizerDefinition> {
@@ -8655,7 +8655,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "maxOverlap", type = "number", required = true, description = "The maximum number of tokens that can overlap in each segment.", displayName = "Max Overlap"),
@YamlProperty(name = "maxTokens", type = "number", required = true, description = "The maximum number of tokens on each segment.", displayName = "Max Tokens"),
@YamlProperty(name = "modelName", type = "string", description = "The underlying model name used by the tokenizer. Providing this switches to computing segment sizes in terms of tokens.", displayName = "Model Name"),
- @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
+ @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", required = true, description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
}
)
public static class LangChain4jParagraphTokenizerDefinitionDeserializer extends YamlDeserializerBase<LangChain4jParagraphTokenizerDefinition> {
@@ -8718,7 +8718,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "maxOverlap", type = "number", required = true, description = "The maximum number of tokens that can overlap in each segment.", displayName = "Max Overlap"),
@YamlProperty(name = "maxTokens", type = "number", required = true, description = "The maximum number of tokens on each segment.", displayName = "Max Tokens"),
@YamlProperty(name = "modelName", type = "string", description = "The underlying model name used by the tokenizer. Providing this switches to computing segment sizes in terms of tokens.", displayName = "Model Name"),
- @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
+ @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", required = true, description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
}
)
public static class LangChain4jSentenceTokenizerDefinitionDeserializer extends YamlDeserializerBase<LangChain4jSentenceTokenizerDefinition> {
@@ -8777,7 +8777,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "maxOverlap", type = "number", required = true),
@YamlProperty(name = "maxTokens", type = "number", required = true),
@YamlProperty(name = "modelName", type = "string"),
- @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN")
+ @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", required = true)
}
)
public static class LangChain4jTokenizerDefinitionDeserializer extends YamlDeserializerBase<LangChain4jTokenizerDefinition> {
@@ -8840,7 +8840,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "maxOverlap", type = "number", required = true, description = "The maximum number of tokens that can overlap in each segment.", displayName = "Max Overlap"),
@YamlProperty(name = "maxTokens", type = "number", required = true, description = "The maximum number of tokens on each segment.", displayName = "Max Tokens"),
@YamlProperty(name = "modelName", type = "string", description = "The underlying model name used by the tokenizer. Providing this switches to computing segment sizes in terms of tokens.", displayName = "Model Name"),
- @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
+ @YamlProperty(name = "tokenizerType", type = "enum:OPEN_AI,AZURE,QWEN", required = true, description = "The tokenizer type. Must be one of OPEN_AI, AZURE or QWEN.", displayName = "Tokenizer Type")
}
)
public static class LangChain4jWordTokenizerDefinitionDeserializer extends YamlDeserializerBase<LangChain4jWordTokenizerDefinition> {
@@ -11393,7 +11393,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "examples", type = "array:org.apache.camel.model.rest.RestPropertyDefinition", description = "Examples of the parameter.", displayName = "Examples"),
@YamlProperty(name = "name", type = "string", required = true, description = "The parameter name.", displayName = "Name"),
@YamlProperty(name = "required", type = "boolean", defaultValue = "true", description = "Sets the parameter required flag.", displayName = "Required"),
- @YamlProperty(name = "type", type = "enum:body,formData,header,path,query", defaultValue = "path", description = "Sets the parameter type such as body, form, header, path, or query.", displayName = "Type")
+ @YamlProperty(name = "type", type = "enum:body,formData,header,path,query", required = true, defaultValue = "path", description = "Sets the parameter type such as body, form, header, path, or query.", displayName = "Type")
}
)
public static class ParamDefinitionDeserializer extends YamlDeserializerBase<ParamDefinition> {
@@ -11564,7 +11564,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition", description = "Security settings for this REST operation", displayName = "Security"),
@YamlProperty(name = "skipBindingOnErrorCode", type = "boolean", defaultValue = "false", description = "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level.", displayName = "Skip Binding On Error Code"),
@YamlProperty(name = "streamCache", type = "boolean", defaultValue = "false", description = "Whether stream caching is enabled on this rest operation.", displayName = "Stream Cache"),
- @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
+ @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", required = true, description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
@YamlProperty(name = "type", type = "string", description = "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level.", displayName = "Type")
}
)
@@ -12155,7 +12155,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition", description = "Security settings for this REST operation", displayName = "Security"),
@YamlProperty(name = "skipBindingOnErrorCode", type = "boolean", defaultValue = "false", description = "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level.", displayName = "Skip Binding On Error Code"),
@YamlProperty(name = "streamCache", type = "boolean", defaultValue = "false", description = "Whether stream caching is enabled on this rest operation.", displayName = "Stream Cache"),
- @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
+ @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", required = true, description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
@YamlProperty(name = "type", type = "string", description = "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level.", displayName = "Type")
}
)
@@ -12459,7 +12459,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
deprecated = false,
properties = {
@YamlProperty(name = "__extends", type = "object:org.apache.camel.model.language.ExpressionDefinition", oneOf = "expression"),
- @YamlProperty(name = "expression", type = "object:org.apache.camel.model.language.ExpressionDefinition", description = "The property value as an expression.", displayName = "Expression", oneOf = "expression"),
+ @YamlProperty(name = "expression", type = "object:org.apache.camel.model.language.ExpressionDefinition", required = true, description = "The property value as an expression.", displayName = "Expression", oneOf = "expression"),
@YamlProperty(name = "key", type = "string", required = true, description = "The property key.", displayName = "Key")
}
)
@@ -12704,7 +12704,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "security", type = "array:org.apache.camel.model.rest.SecurityDefinition", description = "Security settings for this REST operation", displayName = "Security"),
@YamlProperty(name = "skipBindingOnErrorCode", type = "boolean", defaultValue = "false", description = "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level.", displayName = "Skip Binding On Error Code"),
@YamlProperty(name = "streamCache", type = "boolean", defaultValue = "false", description = "Whether stream caching is enabled on this rest operation.", displayName = "Stream Cache"),
- @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
+ @YamlProperty(name = "to", type = "object:org.apache.camel.model.ToDefinition", required = true, description = "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", displayName = "To"),
@YamlProperty(name = "type", type = "string", description = "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level.", displayName = "Type")
}
)
@@ -13793,7 +13793,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "batchConfig", type = "object:org.apache.camel.model.config.BatchResequencerConfig", oneOf = "resequencerConfig"),
@YamlProperty(name = "description", type = "string", description = "The description for this node", displayName = "Description"),
@YamlProperty(name = "disabled", type = "boolean", defaultValue = "false", description = "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", displayName = "Disabled"),
- @YamlProperty(name = "expression", type = "object:org.apache.camel.model.language.ExpressionDefinition", description = "Expression to use for re-ordering the messages, such as a header with a sequence number.", displayName = "Expression", oneOf = "expression"),
+ @YamlProperty(name = "expression", type = "object:org.apache.camel.model.language.ExpressionDefinition", required = true, description = "Expression to use for re-ordering the messages, such as a header with a sequence number.", displayName = "Expression", oneOf = "expression"),
@YamlProperty(name = "id", type = "string", description = "The id of this node", displayName = "Id"),
@YamlProperty(name = "note", type = "string", description = "The note for this node", displayName = "Note"),
@YamlProperty(name = "steps", type = "array:org.apache.camel.model.ProcessorDefinition"),
@@ -16153,7 +16153,7 @@ public final class ModelDeserializers extends YamlDeserializerSupport {
@YamlProperty(name = "disabled", type = "boolean", defaultValue = "false", description = "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", displayName = "Disabled"),
@YamlProperty(name = "id", type = "string", description = "The id of this node", displayName = "Id"),
@YamlProperty(name = "note", type = "string", description = "The note for this node", displayName = "Note"),
- @YamlProperty(name = "pattern", type = "enum:InOnly,InOut", description = "The new exchange pattern to use from this point forward.", displayName = "Pattern")
+ @YamlProperty(name = "pattern", type = "enum:InOnly,InOut", required = true, description = "The new exchange pattern to use from this point forward.", displayName = "Pattern")
}
)
public static class SetExchangePatternDefinitionDeserializer extends YamlDeserializerBase<SetExchangePatternDefinition> {
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
index b255cbe5f0a2..5d39e4465d8b 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl-canonical.json
@@ -260,6 +260,9 @@
"id" : {
"type" : "string"
},
+ "note" : {
+ "type" : "string"
+ },
"parameters" : {
"type" : "object"
},
@@ -288,6 +291,9 @@
"id" : {
"type" : "string"
},
+ "note" : {
+ "type" : "string"
+ },
"parameters" : {
"type" : "object"
},
@@ -882,7 +888,8 @@
"description" : "The claim check operation to use. Get=retrieve, GetAndRemove=retrieve and remove, Set=store with key, Push=store on stack, Pop=retrieve from stack.",
"enum" : [ "Get", "GetAndRemove", "Set", "Push", "Pop" ]
}
- }
+ },
+ "required" : [ "operation" ]
},
"org.apache.camel.model.ContextScanDefinition" : {
"title" : "Context Scan",
@@ -1872,9 +1879,15 @@
"type" : "object",
"additionalProperties" : false,
"properties" : {
+ "description" : {
+ "type" : "string"
+ },
"name" : {
"type" : "string"
},
+ "note" : {
+ "type" : "string"
+ },
"parameters" : {
"type" : "object"
},
@@ -3077,7 +3090,7 @@
"description" : "The property key."
}
},
- "required" : [ "key" ]
+ "required" : [ "expression", "key" ]
},
"org.apache.camel.model.RecipientListDefinition" : {
"title" : "Recipient List",
@@ -3584,7 +3597,8 @@
"streamConfig" : {
"$ref" : "#/items/definitions/org.apache.camel.model.config.StreamResequencerConfig"
}
- }
+ },
+ "required" : [ "expression" ]
},
"org.apache.camel.model.Resilience4jConfigurationDefinition" : {
"title" : "Resilience4j Configuration",
@@ -3929,6 +3943,9 @@
}
}
},
+ "note" : {
+ "type" : "string"
+ },
"onCompletion" : {
"type" : "array",
"items" : {
@@ -4381,7 +4398,8 @@
"description" : "The new exchange pattern to use from this point forward.",
"enum" : [ "InOnly", "InOut" ]
}
- }
+ },
+ "required" : [ "pattern" ]
},
"org.apache.camel.model.SetHeaderDefinition" : {
"title" : "Set Header",
@@ -6411,7 +6429,8 @@
"description" : "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.",
"default" : true
}
- }
+ },
+ "required" : [ "type" ]
},
"org.apache.camel.model.dataformat.CBORDataFormat" : {
"title" : "CBOR",
@@ -10886,7 +10905,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.GetDefinition" : {
"title" : "Get",
@@ -11029,7 +11049,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.HeadDefinition" : {
"title" : "Head",
@@ -11172,7 +11193,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.MutualTLSDefinition" : {
"title" : "Mutual TLS",
@@ -11398,7 +11420,7 @@
"enum" : [ "body", "formData", "header", "path", "query" ]
}
},
- "required" : [ "name" ]
+ "required" : [ "name", "type" ]
},
"org.apache.camel.model.rest.PatchDefinition" : {
"title" : "Patch",
@@ -11541,7 +11563,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.PostDefinition" : {
"title" : "Post",
@@ -11684,7 +11707,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.PutDefinition" : {
"title" : "Put",
@@ -11827,7 +11851,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.ResponseHeaderDefinition" : {
"title" : "Response Header",
@@ -12491,7 +12516,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jLineTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with line splitter",
@@ -12526,7 +12551,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jParagraphTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with paragraph splitter",
@@ -12561,7 +12586,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jSentenceTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with sentence splitter",
@@ -12596,7 +12621,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jTokenizerDefinition" : {
"type" : "object",
@@ -12619,7 +12644,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jWordTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with word splitter",
@@ -12654,7 +12679,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.transformer.CustomTransformerDefinition" : {
"title" : "Custom Transformer",
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
index f97e7cb55df1..291c8c66db81 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
@@ -314,6 +314,9 @@
"id" : {
"type" : "string"
},
+ "note" : {
+ "type" : "string"
+ },
"parameters" : {
"type" : "object"
},
@@ -343,6 +346,9 @@
"id" : {
"type" : "string"
},
+ "note" : {
+ "type" : "string"
+ },
"parameters" : {
"type" : "object"
},
@@ -941,7 +947,8 @@
"description" : "The claim check operation to use. Get=retrieve, GetAndRemove=retrieve and remove, Set=store with key, Push=store on stack, Pop=retrieve from stack.",
"enum" : [ "Get", "GetAndRemove", "Set", "Push", "Pop" ]
}
- }
+ },
+ "required" : [ "operation" ]
},
"org.apache.camel.model.ContextScanDefinition" : {
"title" : "Context Scan",
@@ -2691,9 +2698,15 @@
"type" : "object",
"additionalProperties" : false,
"properties" : {
+ "description" : {
+ "type" : "string"
+ },
"name" : {
"type" : "string"
},
+ "note" : {
+ "type" : "string"
+ },
"parameters" : {
"type" : "object"
},
@@ -4638,8 +4651,6 @@
}, {
"not" : {
"anyOf" : [ {
- "required" : [ "expression" ]
- }, {
"required" : [ "constant" ]
}, {
"required" : [ "csimple" ]
@@ -5328,8 +5339,6 @@
}, {
"not" : {
"anyOf" : [ {
- "required" : [ "expression" ]
- }, {
"required" : [ "constant" ]
}, {
"required" : [ "csimple" ]
@@ -5839,6 +5848,9 @@
}
}
},
+ "note" : {
+ "type" : "string"
+ },
"onCompletion" : {
"type" : "array",
"items" : {
@@ -6592,7 +6604,8 @@
"enum" : [ "InOnly", "InOut" ]
}
}
- } ]
+ } ],
+ "required" : [ "pattern" ]
},
"org.apache.camel.model.SetHeaderDefinition" : {
"title" : "Set Header",
@@ -9834,7 +9847,8 @@
"description" : "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.",
"default" : true
}
- }
+ },
+ "required" : [ "type" ]
},
"org.apache.camel.model.dataformat.CBORDataFormat" : {
"title" : "CBOR",
@@ -14607,7 +14621,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.GetDefinition" : {
"title" : "Get",
@@ -14750,7 +14765,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.HeadDefinition" : {
"title" : "Head",
@@ -14893,7 +14909,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.MutualTLSDefinition" : {
"title" : "Mutual TLS",
@@ -15119,7 +15136,7 @@
"enum" : [ "body", "formData", "header", "path", "query" ]
}
},
- "required" : [ "name" ]
+ "required" : [ "name", "type" ]
},
"org.apache.camel.model.rest.PatchDefinition" : {
"title" : "Patch",
@@ -15262,7 +15279,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.PostDefinition" : {
"title" : "Post",
@@ -15405,7 +15423,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.PutDefinition" : {
"title" : "Put",
@@ -15548,7 +15567,8 @@
"title" : "Type",
"description" : "Sets the class name to use for binding from input to POJO for the incoming data. This option will override what may be configured on a parent level."
}
- }
+ },
+ "required" : [ "to" ]
},
"org.apache.camel.model.rest.ResponseHeaderDefinition" : {
"title" : "Response Header",
@@ -16212,7 +16232,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jLineTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with line splitter",
@@ -16247,7 +16267,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jParagraphTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with paragraph splitter",
@@ -16282,7 +16302,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jSentenceTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with sentence splitter",
@@ -16317,7 +16337,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jTokenizerDefinition" : {
"type" : "object",
@@ -16340,7 +16360,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.tokenizer.LangChain4jWordTokenizerDefinition" : {
"title" : "LangChain4J Tokenizer with word splitter",
@@ -16375,7 +16395,7 @@
"enum" : [ "OPEN_AI", "AZURE", "QWEN" ]
}
},
- "required" : [ "maxOverlap", "maxTokens" ]
+ "required" : [ "maxOverlap", "maxTokens", "tokenizerType" ]
},
"org.apache.camel.model.transformer.CustomTransformerDefinition" : {
"title" : "Custom Transformer",