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 2020/09/07 07:46:37 UTC

[camel] branch master updated: CAMEL-15478: camel-fhir uses javasource parser instead of javadoc for generating api component source code.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1073b75  CAMEL-15478: camel-fhir uses javasource parser instead of javadoc for generating api component source code.
1073b75 is described below

commit 1073b75bc65dc176860aa121f88d36dd5813018d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Sep 7 09:46:15 2020 +0200

    CAMEL-15478: camel-fhir uses javasource parser instead of javadoc for generating api component source code.
---
 components/camel-fhir/camel-fhir-api/pom.xml       | 46 +++-------------------
 components/camel-fhir/camel-fhir-component/pom.xml | 34 ++++++++--------
 .../fhir/FhirCreateEndpointConfiguration.java      |  6 +--
 .../fhir/FhirDeleteEndpointConfiguration.java      |  8 ++--
 .../fhir/FhirPatchEndpointConfiguration.java       |  6 +--
 .../fhir/FhirSearchEndpointConfiguration.java      |  2 +-
 .../fhir/FhirTransactionEndpointConfiguration.java |  2 +-
 .../org/apache/camel/component/fhir/fhir.json      | 10 ++---
 .../src/main/docs/fhir-component.adoc              | 24 +++++------
 9 files changed, 52 insertions(+), 86 deletions(-)

diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml
index 97ec920..0082c73 100644
--- a/components/camel-fhir/camel-fhir-api/pom.xml
+++ b/components/camel-fhir/camel-fhir-api/pom.xml
@@ -48,56 +48,22 @@
     </dependencies>
 
     <build>
-        <defaultGoal>install</defaultGoal>
-
         <plugins>
-
-            <!-- to generate API Javadoc -->
             <plugin>
-                <groupId>org.apache.camel</groupId>
-                <artifactId>camel-javadoc-plugin</artifactId>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>3.2.1</version>
                 <executions>
                     <execution>
-                        <id>add-javadoc</id>
-                        <phase>generate-test-resources</phase>
+                        <id>attach-sources</id>
+                        <phase>verify</phase>
                         <goals>
-                            <goal>jar</goal>
+                            <goal>jar-no-fork</goal>
                         </goals>
-                        <configuration>
-                            <attach>true</attach>
-                            <source>${jdk.version}</source>
-                            <quiet>true</quiet>
-                            <detectOfflineLinks>false</detectOfflineLinks>
-                            <javadocVersion>1.8.0</javadocVersion>
-                            <encoding>UTF-8</encoding>
-                            <locale>en</locale>
-                        </configuration>
                     </execution>
                 </executions>
             </plugin>
-
         </plugins>
     </build>
 
-    <!-- Disable Java 8 doclint checks to avoid Javadoc plugin failures -->
-    <profiles>
-        <profile>
-            <id>doclint-java8-disable</id>
-            <activation>
-                <jdk>[1.8,</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-javadoc-plugin</artifactId>
-                        <configuration>
-                            <additionalparam>-Xdoclint:none</additionalparam>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
 </project>
diff --git a/components/camel-fhir/camel-fhir-component/pom.xml b/components/camel-fhir/camel-fhir-component/pom.xml
index 28dd6ec..9fc277a 100644
--- a/components/camel-fhir/camel-fhir-component/pom.xml
+++ b/components/camel-fhir/camel-fhir-component/pom.xml
@@ -67,15 +67,6 @@
             <version>${project.version}</version>
         </dependency>
 
-        <!-- Component API javadoc in provided scope to read API signatures -->
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-fhir-api</artifactId>
-            <version>${project.version}</version>
-            <classifier>javadoc</classifier>
-            <scope>provided</scope>
-        </dependency>
-
         <!-- These aren't needed for compilation but makes camel-fhir easier to use for third party projects/users e.g wildfly-camel -->
         <dependency>
             <groupId>ca.uhn.hapi.fhir</groupId>
@@ -173,7 +164,7 @@
                                 <api>
                                     <apiName>create</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirCreate</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>url</nullableOption>
                                         <nullableOption>preferReturn</nullableOption>
@@ -183,7 +174,7 @@
                                 <api>
                                     <apiName>delete</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirDelete</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>extraParameters</nullableOption>
                                     </nullableOptions>
@@ -230,7 +221,7 @@
                                 <api>
                                     <apiName>patch</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirPatch</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>preferReturn</nullableOption>
                                         <nullableOption>extraParameters</nullableOption>
@@ -239,7 +230,7 @@
                                 <api>
                                     <apiName>read</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirRead</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>ifVersionMatches</nullableOption>
                                         <nullableOption>returnNull</nullableOption>
@@ -252,7 +243,7 @@
                                 <api>
                                     <apiName>search</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirSearch</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>extraParameters</nullableOption>
                                     </nullableOptions>
@@ -260,7 +251,7 @@
                                 <api>
                                     <apiName>transaction</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirTransaction</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>extraParameters</nullableOption>
                                     </nullableOptions>
@@ -268,7 +259,7 @@
                                 <api>
                                     <apiName>update</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirUpdate</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>id</nullableOption>
                                         <nullableOption>stringId</nullableOption>
@@ -279,7 +270,7 @@
                                 <api>
                                     <apiName>validate</apiName>
                                     <proxyClass>org.apache.camel.component.fhir.api.FhirValidate</proxyClass>
-                                    <fromJavadoc />
+                                    <fromJavasource />
                                     <nullableOptions>
                                         <nullableOption>extraParameters</nullableOption>
                                     </nullableOptions>
@@ -288,6 +279,15 @@
                         </configuration>
                     </execution>
                 </executions>
+                <dependencies>
+                    <!-- Component API to read API signatures -->
+                    <dependency>
+                        <groupId>org.apache.camel</groupId>
+                        <artifactId>camel-fhir-api</artifactId>
+                        <version>${project.version}</version>
+                        <classifier>sources</classifier>
+                    </dependency>
+                </dependencies>
             </plugin>
             <plugin>
                 <!-- we need to generate additional configurer classes -->
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCreateEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCreateEndpointConfiguration.java
index 95c7cf5..6ce2cec 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCreateEndpointConfiguration.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCreateEndpointConfiguration.java
@@ -16,15 +16,15 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class FhirCreateEndpointConfiguration extends FhirConfiguration {
-    @UriParam(description = "See")
+    @UriParam(description = "See ExtraParameters for a full list of parameters that can be passed, may be NULL")
     private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters;
-    @UriParam(description = "Add a")
+    @UriParam(description = "Add a Prefer header to the request, which requests that the server include or suppress the resource body as a part of the result. If a resource is returned by the server it will be parsed an accessible to the client via MethodOutcome#getResource() , may be null")
     private ca.uhn.fhir.rest.api.PreferReturnEnum preferReturn;
     @UriParam(description = "The resource to create")
     private org.hl7.fhir.instance.model.api.IBaseResource resource;
     @UriParam(description = "The resource to create")
     private String resourceAsString;
-    @UriParam(description = "The search URL to use. The format of this URL should be of the form")
+    @UriParam(description = "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&amp;identifier=13.2.4.11.4%7C847366, may be null")
     private String url;
 
     public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() {
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirDeleteEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirDeleteEndpointConfiguration.java
index 0c0fe3c..d2078fc 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirDeleteEndpointConfiguration.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirDeleteEndpointConfiguration.java
@@ -16,17 +16,17 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class FhirDeleteEndpointConfiguration extends FhirConfiguration {
-    @UriParam(description = "See")
+    @UriParam(description = "See ExtraParameters for a full list of parameters that can be passed, may be NULL")
     private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters;
-    @UriParam(description = "The")
+    @UriParam(description = "The IIdType referencing the resource")
     private org.hl7.fhir.instance.model.api.IIdType id;
-    @UriParam(description = "The")
+    @UriParam(description = "The IBaseResource to delete")
     private org.hl7.fhir.instance.model.api.IBaseResource resource;
     @UriParam(description = "It's id")
     private String stringId;
     @UriParam(description = "The resource type e.g Patient")
     private String type;
-    @UriParam(description = "The search URL to use. The format of this URL should be of the form")
+    @UriParam(description = "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&amp;identifier=13.2.4.11.4%7C847366")
     private String url;
 
     public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() {
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirPatchEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirPatchEndpointConfiguration.java
index 54f2c84..622cbc0 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirPatchEndpointConfiguration.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirPatchEndpointConfiguration.java
@@ -16,17 +16,17 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class FhirPatchEndpointConfiguration extends FhirConfiguration {
-    @UriParam(description = "See")
+    @UriParam(description = "See ExtraParameters for a full list of parameters that can be passed, may be NULL")
     private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters;
     @UriParam(description = "The resource ID to patch")
     private org.hl7.fhir.instance.model.api.IIdType id;
     @UriParam(description = "The body of the patch document serialized in either XML or JSON which conforms to http://jsonpatch.com/ or http://tools.ietf.org/html/rfc5261")
     private String patchBody;
-    @UriParam(description = "Add a")
+    @UriParam(description = "Add a Prefer header to the request, which requests that the server include or suppress the resource body as a part of the result. If a resource is returned by the server it will be parsed an accessible to the client via MethodOutcome#getResource()")
     private ca.uhn.fhir.rest.api.PreferReturnEnum preferReturn;
     @UriParam(description = "The resource ID to patch")
     private String stringId;
-    @UriParam(description = "The search URL to use. The format of this URL should be of the form")
+    @UriParam(description = "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&amp;identifier=13.2.4.11.4%7C847366")
     private String url;
 
     public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() {
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirSearchEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirSearchEndpointConfiguration.java
index 8e61fbe..de1f934 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirSearchEndpointConfiguration.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirSearchEndpointConfiguration.java
@@ -16,7 +16,7 @@ import org.apache.camel.spi.UriParams;
 @UriParams
 @Configurer
 public final class FhirSearchEndpointConfiguration extends FhirConfiguration {
-    @UriParam(description = "See")
+    @UriParam(description = "See ExtraParameters for a full list of parameters that can be passed, may be NULL")
     private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters;
     @UriParam(description = "The URL to search for. Note that this URL may be complete (e.g. http://example.com/base/Patientname=foo) in which case the client's base URL will be ignored. Or it can be relative (e.g. Patientname=foo) in which case the client's base URL will be used.")
     private String url;
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirTransactionEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirTransactionEndpointConfiguration.java
index e2795cd..6d50d82 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirTransactionEndpointConfiguration.java
+++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirTransactionEndpointConfiguration.java
@@ -18,7 +18,7 @@ import org.apache.camel.spi.UriParams;
 public final class FhirTransactionEndpointConfiguration extends FhirConfiguration {
     @UriParam(description = "Bundle to use in the transaction")
     private org.hl7.fhir.instance.model.api.IBaseBundle bundle;
-    @UriParam(description = "See")
+    @UriParam(description = "See ExtraParameters for a full list of parameters that can be passed, may be NULL")
     private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters;
     @UriParam(description = "Resources to use in the transaction")
     private java.util.List<org.hl7.fhir.instance.model.api.IBaseResource> resources;
diff --git a/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json b/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json
index 8b6240e..333e4de 100644
--- a/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json
+++ b/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json
@@ -103,16 +103,16 @@
   },
   "apiProperties": {
     "capabilities": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "" }, "type": { "kind": "parameter", "displayName": "Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir. [...]
-    "create": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See" }, "preferReturn": { "kind": "parameter", "displayName": "Prefer Return", "group": "common", "label": "", "required": false, "type": "object", "javaType": "ca.uhn.fhir.res [...]
-    "delete": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IIdT [...]
+    "create": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See ExtraParameters for a full list of parameters that can be passed, may be NULL" }, "preferReturn": { "kind": "parameter", "displayName": "Prefer Return", "group": "common",  [...]
+    "delete": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See ExtraParameters for a full list of parameters that can be passed, may be NULL" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "require [...]
     "history": { "count": { "kind": "parameter", "displayName": "Count", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "description": "" }, "cutoff": { "kind": "parameter", "displayName": "Cutoff", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.util.Date", "deprecated": false, "secret": false, "description": "" }, "extraParameters": { "kind": "parameter", [...]
     "load-page": { "bundle": { "kind": "parameter", "displayName": "Bundle", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IBaseBundle", "deprecated": false, "secret": false, "description": "" }, "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, ja [...]
     "meta": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IIdType", [...]
     "operation": { "asynchronous": { "kind": "parameter", "displayName": "Asynchronous", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "description": "" }, "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Objec [...]
-    "patch": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IIdTy [...]
+    "patch": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See ExtraParameters for a full list of parameters that can be passed, may be NULL" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required [...]
     "read": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "" }, "iUrl": { "kind": "parameter", "displayName": "IUrl", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IIdTy [...]
-    "search": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See" }, "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": f [...]
-    "transaction": { "bundle": { "kind": "parameter", "displayName": "Bundle", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IBaseBundle", "deprecated": false, "secret": false, "description": "Bundle to use in the transaction" }, "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.comp [...]
+    "search": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "See ExtraParameters for a full list of parameters that can be passed, may be NULL" }, "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "requi [...]
+    "transaction": { "bundle": { "kind": "parameter", "displayName": "Bundle", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IBaseBundle", "deprecated": false, "secret": false, "description": "Bundle to use in the transaction" }, "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.comp [...]
     "update": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "" }, "id": { "kind": "parameter", "displayName": "Id", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.model.api.IIdType [...]
     "validate": { "extraParameters": { "kind": "parameter", "displayName": "Extra Parameters", "group": "common", "label": "", "required": false, "type": "object", "javaType": "java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, java.lang.Object>", "deprecated": false, "secret": false, "description": "" }, "resource": { "kind": "parameter", "displayName": "Resource", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.hl7.fhir.instance.mod [...]
   }
diff --git a/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc b/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc
index ad0c8bf..ef9e1df 100644
--- a/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc
+++ b/components/camel-fhir/camel-fhir-component/src/main/docs/fhir-component.adoc
@@ -197,11 +197,11 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *extraParameters* | See | Map
-| *preferReturn* | Add a | PreferReturnEnum
+| *extraParameters* | See ExtraParameters for a full list of parameters that can be passed, may be NULL | Map
+| *preferReturn* | Add a Prefer header to the request, which requests that the server include or suppress the resource body as a part of the result. If a resource is returned by the server it will be parsed an accessible to the client via MethodOutcome#getResource() , may be null | PreferReturnEnum
 | *resource* | The resource to create | IBaseResource
 | *resourceAsString* | The resource to create | String
-| *url* | The search URL to use. The format of this URL should be of the form | String
+| *url* | The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&amp;identifier=13.2.4.11.4%7C847366, may be null | String
 |===
 
 
@@ -210,12 +210,12 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *extraParameters* | See | Map
-| *id* | The | IIdType
-| *resource* | The | IBaseResource
+| *extraParameters* | See ExtraParameters for a full list of parameters that can be passed, may be NULL | Map
+| *id* | The IIdType referencing the resource | IIdType
+| *resource* | The IBaseResource to delete | IBaseResource
 | *stringId* | It's id | String
 | *type* | The resource type e.g Patient | String
-| *url* | The search URL to use. The format of this URL should be of the form | String
+| *url* | The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&amp;identifier=13.2.4.11.4%7C847366 | String
 |===
 
 
@@ -284,12 +284,12 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *extraParameters* | See | Map
+| *extraParameters* | See ExtraParameters for a full list of parameters that can be passed, may be NULL | Map
 | *id* | The resource ID to patch | IIdType
 | *patchBody* | The body of the patch document serialized in either XML or JSON which conforms to \http://jsonpatch.com/ or \http://tools.ietf.org/html/rfc5261 | String
-| *preferReturn* | Add a | PreferReturnEnum
+| *preferReturn* | Add a Prefer header to the request, which requests that the server include or suppress the resource body as a part of the result. If a resource is returned by the server it will be parsed an accessible to the client via MethodOutcome#getResource() | PreferReturnEnum
 | *stringId* | The resource ID to patch | String
-| *url* | The search URL to use. The format of this URL should be of the form | String
+| *url* | The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&amp;identifier=13.2.4.11.4%7C847366 | String
 |===
 
 
@@ -319,7 +319,7 @@ The following lists each API name and method and its additional parameters.
 [width="100%",cols="2,5,3",options="header"]
 |===
 | Name | Description | Type
-| *extraParameters* | See | Map
+| *extraParameters* | See ExtraParameters for a full list of parameters that can be passed, may be NULL | Map
 | *url* | The URL to search for. Note that this URL may be complete (e.g. \http://example.com/base/Patientname=foo) in which case the client's base URL will be ignored. Or it can be relative (e.g. Patientname=foo) in which case the client's base URL will be used. | String
 |===
 
@@ -330,7 +330,7 @@ The following lists each API name and method and its additional parameters.
 |===
 | Name | Description | Type
 | *bundle* | Bundle to use in the transaction | IBaseBundle
-| *extraParameters* | See | Map
+| *extraParameters* | See ExtraParameters for a full list of parameters that can be passed, may be NULL | Map
 | *resources* | Resources to use in the transaction | List
 | *stringBundle* | Bundle to use in the transaction | String
 |===