This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.20.x by this push:
     new 4cb40920b56 CAMEL-18850: camel-core-model - @XmlAttributes should be 
String or Enum type only
4cb40920b56 is described below

commit 4cb40920b56cf8cd259daa655694eba8b91efa2d
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Jan 1 13:38:48 2023 +0100

    CAMEL-18850: camel-core-model - @XmlAttributes should be String or Enum 
type only
---
 .../apache/camel/catalog/dataformats/fhirJson.json |  1 +
 .../apache/camel/catalog/dataformats/fhirXml.json  |  1 +
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 45 ++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json
index bbb4899a47d..4f06caf6bd4 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json
@@ -17,6 +17,7 @@
   },
   "properties": {
     "fhirVersion": { "kind": "attribute", "displayName": "Fhir Version", 
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ 
"DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "R4", "description": "The 
version of FHIR to use. Possible values are: 
DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5" },
+    "fhirContext": { "kind": "attribute", "displayName": "Fhir Context", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "To use a custom fhir context. Reference to object of type 
ca.uhn.fhir.context.FhirContext" },
     "prettyPrint": { "kind": "attribute", "displayName": "Pretty Print", 
"required": false, "type": "boolean", "javaType": "java.lang.Boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "Sets the pretty print flag, meaning that the parser will 
encode resources with human-readable spacing and newlines between elements 
instead of condensing output as much as possible." },
     "parserErrorHandler": { "kind": "attribute", "displayName": "Parser Error 
Handler", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Registers an error handler which will be invoked when any parse 
errors are found. Reference to object of type 
ca.uhn.fhir.parser.IParserErrorHandler" },
     "parserOptions": { "kind": "attribute", "displayName": "Parser Options", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the parser options object which will be used to supply 
default options to newly created parsers. Reference to object of type 
ca.uhn.fhir.context.ParserOptions." },
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json
index 3d89e8b369b..ba29fded4fa 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json
@@ -17,6 +17,7 @@
   },
   "properties": {
     "fhirVersion": { "kind": "attribute", "displayName": "Fhir Version", 
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ 
"DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "R4", "description": "The 
version of FHIR to use. Possible values are: 
DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5" },
+    "fhirContext": { "kind": "attribute", "displayName": "Fhir Context", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "To use a custom fhir context. Reference to object of type 
ca.uhn.fhir.context.FhirContext" },
     "prettyPrint": { "kind": "attribute", "displayName": "Pretty Print", 
"required": false, "type": "boolean", "javaType": "java.lang.Boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "Sets the pretty print flag, meaning that the parser will 
encode resources with human-readable spacing and newlines between elements 
instead of condensing output as much as possible." },
     "parserErrorHandler": { "kind": "attribute", "displayName": "Parser Error 
Handler", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Registers an error handler which will be invoked when any parse 
errors are found. Reference to object of type 
ca.uhn.fhir.parser.IParserErrorHandler" },
     "parserOptions": { "kind": "attribute", "displayName": "Parser Options", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the parser options object which will be used to supply 
default options to newly created parsers. Reference to object of type 
ca.uhn.fhir.context.ParserOptions." },
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 25893b4b626..0050113ebe2 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -10380,6 +10380,17 @@ DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5. Default value: 
R4
           </xs:annotation>
         </xs:attribute>
                 
+        <xs:attribute name="fhirContext" type="xs:string">
+          <xs:annotation>
+            <xs:documentation xml:lang="en">
+              <![CDATA[
+To use a custom fhir context. Reference to object of type
+ca.uhn.fhir.context.FhirContext.
+            ]]>
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+                
         <xs:attribute name="prettyPrint" type="xs:string">
           <xs:annotation>
             <xs:documentation xml:lang="en">
@@ -10392,6 +10403,29 @@ output as much as possible. Default value: false
           </xs:annotation>
         </xs:attribute>
                 
+        <xs:attribute name="parserErrorHandler" type="xs:string">
+          <xs:annotation>
+            <xs:documentation xml:lang="en">
+              <![CDATA[
+Registers an error handler which will be invoked when any parse errors are
+found. Reference to object of type ca.uhn.fhir.parser.IParserErrorHandler.
+            ]]>
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+                
+        <xs:attribute name="parserOptions" type="xs:string">
+          <xs:annotation>
+            <xs:documentation xml:lang="en">
+              <![CDATA[
+Sets the parser options object which will be used to supply default options to
+newly created parsers. Reference to object of type
+ca.uhn.fhir.context.ParserOptions.
+            ]]>
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+                
         <xs:attribute name="preferTypes" type="xs:string">
           <xs:annotation>
             <xs:documentation xml:lang="en">
@@ -10407,6 +10441,17 @@ Multiple class names can be separated by comma.
           </xs:annotation>
         </xs:attribute>
                 
+        <xs:attribute name="forceResourceId" type="xs:string">
+          <xs:annotation>
+            <xs:documentation xml:lang="en">
+              <![CDATA[
+When encoding, force this resource ID to be encoded as the resource ID.
+Reference to object of type org.hl7.fhir.instance.model.api.IIdType.
+            ]]>
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+                
         <xs:attribute name="serverBaseUrl" type="xs:string">
           <xs:annotation>
             <xs:documentation xml:lang="en">

Reply via email to