This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 55a984a Regen 55a984a is described below commit 55a984a2199a93935f1e5d3850c3ffcafe26d788 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Feb 22 07:29:05 2022 +0100 Regen --- .../org/apache/camel/catalog/others/console.json | 15 +++++++++++++++ .../maven/generator/openapi/AbstractGenerateMojo.java | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/console.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/console.json new file mode 100644 index 0000000..b1048bd --- /dev/null +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/console.json @@ -0,0 +1,15 @@ +{ + "other": { + "kind": "other", + "name": "console", + "title": "Console", + "description": "Camel Developer Console", + "deprecated": false, + "firstVersion": "3.15.0", + "label": "core", + "supportLevel": "Preview", + "groupId": "org.apache.camel", + "artifactId": "camel-console", + "version": "3.16.0-SNAPSHOT" + } +} 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 66455b7..1101c80 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,7 +21,6 @@ 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; @@ -398,7 +397,8 @@ abstract class AbstractGenerateMojo extends AbstractMojo { for (String part : parts) { String[] kvPair = part.split(":"); if (kvPair.length == 2) { - auths.put(URLDecoder.decode(kvPair[0], StandardCharsets.UTF_8), URLDecoder.decode(kvPair[1], StandardCharsets.UTF_8)); + auths.put(URLDecoder.decode(kvPair[0], StandardCharsets.UTF_8), + URLDecoder.decode(kvPair[1], StandardCharsets.UTF_8)); } } }