You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/11/23 12:31:03 UTC

[camel] branch master updated (17603d9 -> 678ae2a)

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

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


    from 17603d9  (chores) Simplified exception testing (#4659)
     new 3df2ae9  CAMEL-15858: add remote file handling
     new 04ed7f9  CAMEL-15858: extract openapi-generator version as property
     new bc0c058  CAMEL-15858: fix - add generated camel dependencies pom
     new 4eb4774  CAMEL-15858: enhance maven plugin documentation with http option
     new f5509b7  CAMEL-15858: remove openapi dependency
     new 678ae2a  CAMEL-15858: fix - remove whitespace characters

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../main/docs/camel-restdsl-openapi-plugin.adoc    |  6 +-
 .../generator/openapi/AbstractGenerateMojo.java    | 67 +++++++++++++++++++++-
 2 files changed, 70 insertions(+), 3 deletions(-)


[camel] 02/06: CAMEL-15858: extract openapi-generator version as property

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 04ed7f9b51bd37bb180f8ff047bf693a7407af78
Author: ex324 <ch...@helsana.ch>
AuthorDate: Tue Nov 17 11:43:22 2020 +0100

    CAMEL-15858: extract openapi-generator version as property
---
 parent/pom.xml                                     | 1 +
 tooling/maven/camel-restdsl-openapi-plugin/pom.xml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 674ded0..88c9020 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -439,6 +439,7 @@
         <networknt-json-schema-validator-version>1.0.44</networknt-json-schema-validator-version>
         <nimbus-jose-jwt>8.9</nimbus-jose-jwt>
         <nitrite-version>3.4.2</nitrite-version>
+        <openapi-generator-version>4.3.1</openapi-generator-version>
         <!-- should be in-sync with deltaspike -->
         <openwebbeans1-version>1.2.7</openwebbeans1-version>
         <openwebbeans-version>1.7.3</openwebbeans-version>
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
index ce7d551..d2e1d7a 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
+++ b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
@@ -58,7 +58,7 @@
         <dependency>
             <groupId>org.openapitools</groupId>
             <artifactId>openapi-generator</artifactId>
-            <version>4.3.1</version>
+            <version>${openapi-generator-version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.maven</groupId>


[camel] 05/06: CAMEL-15858: remove openapi dependency

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f5509b77ed4fd3819c30c050c32645e16c4ef0dd
Author: ex324 <ch...@helsana.ch>
AuthorDate: Mon Nov 23 11:28:29 2020 +0100

    CAMEL-15858: remove openapi dependency
---
 camel-dependencies/pom.xml                         |  1 -
 parent/pom.xml                                     |  1 -
 tooling/maven/camel-restdsl-openapi-plugin/pom.xml |  5 ----
 .../generator/openapi/AbstractGenerateMojo.java    | 31 ++++++++++++++++++----
 4 files changed, 26 insertions(+), 12 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index bb3dee3..a3cf169 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -457,7 +457,6 @@
     <okclient-version>3.14.9</okclient-version>
     <olingo2-version>2.0.11</olingo2-version>
     <olingo4-version>4.7.1</olingo4-version>
-    <openapi-generator-version>4.3.1</openapi-generator-version>
     <openjpa-version>3.1.2</openjpa-version>
     <openstack4j-version>3.8</openstack4j-version>
     <opentelemetry-version>0.8.0</opentelemetry-version>
diff --git a/parent/pom.xml b/parent/pom.xml
index 88c9020..674ded0 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -439,7 +439,6 @@
         <networknt-json-schema-validator-version>1.0.44</networknt-json-schema-validator-version>
         <nimbus-jose-jwt>8.9</nimbus-jose-jwt>
         <nitrite-version>3.4.2</nitrite-version>
-        <openapi-generator-version>4.3.1</openapi-generator-version>
         <!-- should be in-sync with deltaspike -->
         <openwebbeans1-version>1.2.7</openwebbeans1-version>
         <openwebbeans-version>1.7.3</openwebbeans-version>
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
index d2e1d7a..da41363 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
+++ b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
@@ -56,11 +56,6 @@
             <version>${snakeyaml-version}</version>
         </dependency>
         <dependency>
-            <groupId>org.openapitools</groupId>
-            <artifactId>openapi-generator</artifactId>
-            <version>${openapi-generator-version}</version>
-        </dependency>
-        <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-core</artifactId>
         </dependency>
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
index 2ed0dc7..0123beb 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
@@ -21,26 +21,29 @@ import java.io.FileInputStream;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.UnsupportedEncodingException;
 import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.net.URL;
 import java.net.URLClassLoader;
 import java.net.URLConnection;
+import java.net.URLDecoder;
 import java.nio.channels.Channels;
 import java.nio.channels.FileChannel;
 import java.nio.channels.ReadableByteChannel;
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Map.Entry;
 import java.util.Optional;
 
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import io.apicurio.datamodels.Library;
 import io.apicurio.datamodels.openapi.models.OasDocument;
-import io.swagger.v3.parser.core.models.AuthorizationValue;
 import org.apache.camel.generator.openapi.DestinationGenerator;
 import org.apache.camel.util.IOHelper;
 import org.apache.camel.util.ObjectHelper;
@@ -52,7 +55,6 @@ import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugins.annotations.Component;
 import org.apache.maven.plugins.annotations.Parameter;
 import org.apache.maven.project.MavenProject;
-import org.openapitools.codegen.auth.AuthParser;
 import org.twdata.maven.mojoexecutor.MojoExecutor;
 import org.yaml.snakeyaml.Yaml;
 
@@ -304,9 +306,9 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
 
             URLConnection conn = inputSpecRemoteUrl.openConnection();
             if (isNotEmpty(auth)) {
-                List<AuthorizationValue> authList = AuthParser.parse(auth);
-                for (AuthorizationValue a : authList) {
-                    conn.setRequestProperty(a.getKeyName(), a.getValue());
+                Map<String, String> authList = parse(auth);
+                for (Entry<String, String> a : authList.entrySet()) {
+                    conn.setRequestProperty(a.getKey(), a.getValue());
                 }
             }
             try (ReadableByteChannel readableByteChannel = Channels.newChannel(conn.getInputStream())) {
@@ -377,4 +379,23 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
             return null;
         }
     }
+    
+    private Map<String, String> parse(String urlEncodedAuthStr) {
+    	Map<String, String> auths = new HashMap<String, String>();
+        if (isNotEmpty(urlEncodedAuthStr)) {
+            String[] parts = urlEncodedAuthStr.split(",");
+            for (String part : parts) {
+                String[] kvPair = part.split(":");
+                if (kvPair.length == 2) {
+                    try {
+                        auths.put(URLDecoder.decode(kvPair[0], "UTF-8"), URLDecoder.decode(kvPair[1], "UTF-8"));
+                    } catch (UnsupportedEncodingException e) {
+                    	getLog().warn(e.getMessage());
+                    }
+                }
+            }
+        }
+        return auths;
+    }
+
 }


[camel] 01/06: CAMEL-15858: add remote file handling

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3df2ae928d340fc536a531b81ac63d067a6237b5
Author: test <te...@localhost>
AuthorDate: Thu Nov 12 10:06:38 2020 +0100

    CAMEL-15858: add remote file handling
---
 tooling/maven/camel-restdsl-openapi-plugin/pom.xml |  5 +++
 .../main/docs/camel-restdsl-openapi-plugin.adoc    |  2 +
 .../generator/openapi/AbstractGenerateMojo.java    | 46 +++++++++++++++++++++-
 3 files changed, 52 insertions(+), 1 deletion(-)

diff --git a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
index da41363..ce7d551 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
+++ b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
@@ -56,6 +56,11 @@
             <version>${snakeyaml-version}</version>
         </dependency>
         <dependency>
+            <groupId>org.openapitools</groupId>
+            <artifactId>openapi-generator</artifactId>
+            <version>4.3.1</version>
+        </dependency>
+        <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-core</artifactId>
         </dependency>
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc b/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
index 2c620a3..b571140 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
@@ -61,6 +61,7 @@ in the `<configuration>` tag.
 | `skip` | `false` | Set to `true` to skip code generation.
 | `filterOperation` | | Used for including only the operation ids specified. Multiple ids can be separated by comma. Wildcards can be used, eg `find*` to include all operations starting with `find`.
 | `specificationUri` | `src/spec/openapi.json` | URI of the OpenApi specification, supports filesystem paths, HTTP and classpath resources, by default `src/spec/openapi.json` within the project directory.  Supports JSON and YAML.
+| `auth` | | Adds authorization headers when fetching the OpenApi specification definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values.
 | `className` | from `title` or `RestDslRoute` | Name of the generated class, taken from the OpenApi specification title or set to `RestDslRoute` by default
 | `packageName` | from `host` or `rest.dsl.generated` | Name of the package for the generated class, taken from the OpenApi specification host value or `rest.dsl.generated` by default
 | `indent` | `"&nbsp;&nbsp;&nbsp;&nbsp;"` | What identing character(s) to use, by default four spaces, you can use `\t` to signify tab character
@@ -136,6 +137,7 @@ in the `<configuration>` tag.
 | `skip` | `false` | Set to `true` to skip code generation.
 | `filterOperation` | | Used for including only the operation ids specified. Multiple ids can be separated by comma. Wildcards can be used, eg `find*` to include all operations starting with `find`.
 | `specificationUri` | `src/spec/openapi.json` | URI of the OpenApi specification, by default `src/spec/openapi.json` within the project directory. Supports JSON and YAML.
+| `auth` | | Adds authorization headers when fetching the OpenApi specification definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values.
 | `outputDirectory` | `generated-sources/restdsl-openapi` | Where to place the generated source file, by default `generated-sources/restdsl-openapi` within the project directory
 | `fileName` | `camel-rest.xml` | The name of the XML file as output.
 | `blueprint` | `false` | If enabled generates OSGi Blueprint XML instead of Spring XML.
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
index 1f25c49..2ed0dc7 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
@@ -18,11 +18,18 @@ package org.apache.camel.maven.generator.openapi;
 
 import java.io.File;
 import java.io.FileInputStream;
+import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
 import java.net.URL;
 import java.net.URLClassLoader;
+import java.net.URLConnection;
+import java.nio.channels.Channels;
+import java.nio.channels.FileChannel;
+import java.nio.channels.ReadableByteChannel;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
@@ -33,6 +40,7 @@ import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import io.apicurio.datamodels.Library;
 import io.apicurio.datamodels.openapi.models.OasDocument;
+import io.swagger.v3.parser.core.models.AuthorizationValue;
 import org.apache.camel.generator.openapi.DestinationGenerator;
 import org.apache.camel.util.IOHelper;
 import org.apache.camel.util.ObjectHelper;
@@ -44,9 +52,11 @@ import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugins.annotations.Component;
 import org.apache.maven.plugins.annotations.Parameter;
 import org.apache.maven.project.MavenProject;
+import org.openapitools.codegen.auth.AuthParser;
 import org.twdata.maven.mojoexecutor.MojoExecutor;
 import org.yaml.snakeyaml.Yaml;
 
+import static org.apache.commons.lang3.StringUtils.isNotEmpty;
 import static org.twdata.maven.mojoexecutor.MojoExecutor.artifactId;
 import static org.twdata.maven.mojoexecutor.MojoExecutor.configuration;
 import static org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo;
@@ -99,6 +109,9 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
     @Parameter(defaultValue = "${project.basedir}/src/spec/openapi.json", required = true)
     String specificationUri;
 
+    @Parameter(name = "auth")
+    String auth;
+
     @Parameter(defaultValue = "3.0.19")
     String swaggerCodegenMavenPluginVersion;
 
@@ -282,9 +295,32 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
 
     OasDocument readOpenApiDoc(String specificationUri) throws Exception {
         ObjectMapper mapper = new ObjectMapper();
+
+        URL inputSpecRemoteUrl = inputSpecRemoteUrl(specificationUri);
+        File inputSpecTempFile = new File(specificationUri);
+
+        if (inputSpecRemoteUrl != null) {
+            inputSpecTempFile = File.createTempFile("openapi-spec", ".tmp");
+
+            URLConnection conn = inputSpecRemoteUrl.openConnection();
+            if (isNotEmpty(auth)) {
+                List<AuthorizationValue> authList = AuthParser.parse(auth);
+                for (AuthorizationValue a : authList) {
+                    conn.setRequestProperty(a.getKeyName(), a.getValue());
+                }
+            }
+            try (ReadableByteChannel readableByteChannel = Channels.newChannel(conn.getInputStream())) {
+                FileChannel fileChannel;
+                try (FileOutputStream fileOutputStream = new FileOutputStream(inputSpecTempFile)) {
+                    fileChannel = fileOutputStream.getChannel();
+                    fileChannel.transferFrom(readableByteChannel, 0, Long.MAX_VALUE);
+                }
+            }
+        }
+
         InputStream is;
         try {
-            is = new FileInputStream(new File(specificationUri));
+            is = new FileInputStream(inputSpecTempFile);
         } catch (Exception ex) {
             //use classloader resource stream as fallback
             is = this.getClass().getClassLoader().getResourceAsStream(specificationUri);
@@ -333,4 +369,12 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
 
         return comp;
     }
+
+    private URL inputSpecRemoteUrl(String specificationUri) {
+        try {
+            return new URI(specificationUri).toURL();
+        } catch (URISyntaxException | MalformedURLException | IllegalArgumentException e) {
+            return null;
+        }
+    }
 }


[camel] 06/06: CAMEL-15858: fix - remove whitespace characters

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 678ae2a50baa270c38f623a066f10f3078a54e48
Author: ex324 <ch...@helsana.ch>
AuthorDate: Mon Nov 23 11:59:16 2020 +0100

    CAMEL-15858: fix - remove whitespace characters
---
 .../apache/camel/maven/generator/openapi/AbstractGenerateMojo.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
index 0123beb..4781bb8 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
@@ -379,9 +379,9 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
             return null;
         }
     }
-    
+
     private Map<String, String> parse(String urlEncodedAuthStr) {
-    	Map<String, String> auths = new HashMap<String, String>();
+        Map<String, String> auths = new HashMap<String, String>();
         if (isNotEmpty(urlEncodedAuthStr)) {
             String[] parts = urlEncodedAuthStr.split(",");
             for (String part : parts) {
@@ -390,7 +390,7 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
                     try {
                         auths.put(URLDecoder.decode(kvPair[0], "UTF-8"), URLDecoder.decode(kvPair[1], "UTF-8"));
                     } catch (UnsupportedEncodingException e) {
-                    	getLog().warn(e.getMessage());
+                        getLog().warn(e.getMessage());
                     }
                 }
             }


[camel] 04/06: CAMEL-15858: enhance maven plugin documentation with http option

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4eb4774d77b2cd88d4ab0197f0968ed35a549dc8
Author: ex324 <ch...@helsana.ch>
AuthorDate: Tue Nov 17 14:22:57 2020 +0100

    CAMEL-15858: enhance maven plugin documentation with http option
---
 .../src/main/docs/camel-restdsl-openapi-plugin.adoc                   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc b/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
index b571140..775e5d1 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
@@ -60,7 +60,7 @@ in the `<configuration>` tag.
 | Parameter | Default Value | Description
 | `skip` | `false` | Set to `true` to skip code generation.
 | `filterOperation` | | Used for including only the operation ids specified. Multiple ids can be separated by comma. Wildcards can be used, eg `find*` to include all operations starting with `find`.
-| `specificationUri` | `src/spec/openapi.json` | URI of the OpenApi specification, supports filesystem paths, HTTP and classpath resources, by default `src/spec/openapi.json` within the project directory.  Supports JSON and YAML.
+| `specificationUri` | `src/spec/openapi.json` | URI of the OpenApi specification, supports filesystem paths, HTTP and classpath resources, by default `src/spec/openapi.json` within the project directory. Supports JSON and YAML.
 | `auth` | | Adds authorization headers when fetching the OpenApi specification definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values.
 | `className` | from `title` or `RestDslRoute` | Name of the generated class, taken from the OpenApi specification title or set to `RestDslRoute` by default
 | `packageName` | from `host` or `rest.dsl.generated` | Name of the package for the generated class, taken from the OpenApi specification host value or `rest.dsl.generated` by default
@@ -136,7 +136,7 @@ in the `<configuration>` tag.
 | Parameter | Default Value | Description
 | `skip` | `false` | Set to `true` to skip code generation.
 | `filterOperation` | | Used for including only the operation ids specified. Multiple ids can be separated by comma. Wildcards can be used, eg `find*` to include all operations starting with `find`.
-| `specificationUri` | `src/spec/openapi.json` | URI of the OpenApi specification, by default `src/spec/openapi.json` within the project directory. Supports JSON and YAML.
+| `specificationUri` | `src/spec/openapi.json` | URI of the OpenApi specification, supports filesystem paths, HTTP and classpath resources, by default `src/spec/openapi.json` within the project directory. Supports JSON and YAML.
 | `auth` | | Adds authorization headers when fetching the OpenApi specification definitions remotely. Pass in a URL-encoded string of name:header with a comma separating multiple values.
 | `outputDirectory` | `generated-sources/restdsl-openapi` | Where to place the generated source file, by default `generated-sources/restdsl-openapi` within the project directory
 | `fileName` | `camel-rest.xml` | The name of the XML file as output.


[camel] 03/06: CAMEL-15858: fix - add generated camel dependencies pom

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit bc0c058ac27be51b61361c9cb6bc3a304aacdb2a
Author: ex324 <ch...@helsana.ch>
AuthorDate: Tue Nov 17 13:57:22 2020 +0100

    CAMEL-15858: fix - add generated camel dependencies pom
---
 camel-dependencies/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index a3cf169..bb3dee3 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -457,6 +457,7 @@
     <okclient-version>3.14.9</okclient-version>
     <olingo2-version>2.0.11</olingo2-version>
     <olingo4-version>4.7.1</olingo4-version>
+    <openapi-generator-version>4.3.1</openapi-generator-version>
     <openjpa-version>3.1.2</openjpa-version>
     <openstack4j-version>3.8</openstack4j-version>
     <opentelemetry-version>0.8.0</opentelemetry-version>