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 2023/02/17 07:07:11 UTC

[camel] branch main updated (08e7f5aee9e -> 7da80739d61)

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

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


    from 08e7f5aee9e CAMEL-19040: Backlog tracer to capture MEP
     new 975d0718dd6 Remove swagger-rest-dsl-generator - no longer in use in Camel v4
     new 7da80739d61 camel-jbang - Remove duplicate command

The 2 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:
 .../dsl/jbang/core/commands/CamelJBangMain.java    |    1 -
 tooling/pom.xml                                    |    1 -
 tooling/swagger-rest-dsl-generator/petstore.json   | 1042 --------------------
 tooling/swagger-rest-dsl-generator/pom.xml         |   89 --
 .../generator/swagger/AppendableGenerator.java     |   37 -
 .../camel/generator/swagger/CodeEmitter.java       |   25 -
 .../generator/swagger/DestinationGenerator.java    |   26 -
 .../generator/swagger/DirectToOperationId.java     |   37 -
 .../camel/generator/swagger/FilerGenerator.java    |   39 -
 .../swagger/MethodBodySourceCodeEmitter.java       |  166 ----
 .../camel/generator/swagger/OperationFilter.java   |   45 -
 .../camel/generator/swagger/OperationVisitor.java  |  128 ---
 .../camel/generator/swagger/PathGenerator.java     |   38 -
 .../camel/generator/swagger/PathVisitor.java       |   48 -
 .../generator/swagger/RestDefinitionEmitter.java   |   96 --
 .../swagger/RestDslDefinitionGenerator.java        |   40 -
 .../camel/generator/swagger/RestDslGenerator.java  |  154 ---
 .../swagger/RestDslSourceCodeGenerator.java        |  210 ----
 .../generator/swagger/RestDslXmlGenerator.java     |  128 ---
 .../SpringBootProjectSourceCodeGenerator.java      |  111 ---
 .../src/main/resources/META-INF/LICENSE.txt        |  203 ----
 .../src/main/resources/META-INF/NOTICE.txt         |   14 -
 .../swagger/MethodBodySourceCodeEmitterTest.java   |   56 --
 .../PathSpringBootProjectSourceGeneratorTest.java  |   48 -
 .../swagger/RestDefinitionEmitterTest.java         |   70 --
 .../generator/swagger/RestDslGeneratorTest.java    |  106 --
 .../swagger/RestDslSourceCodeGeneratorTest.java    |  104 --
 .../generator/swagger/RestDslXmlGeneratorTest.java |  103 --
 .../src/test/resources/MyRestRoute.txt             |  294 ------
 .../src/test/resources/MyRestRouteFilter.txt       |   78 --
 .../test/resources/SpringBootRestController.txt    |   25 -
 .../src/test/resources/SwaggerPetstore.txt         |  291 ------
 .../resources/SwaggerPetstoreWithRestComponent.txt |  294 ------
 .../SwaggerPetstoreWithRestComponentXml.txt        |  101 --
 .../src/test/resources/SwaggerPetstoreXml.txt      |  100 --
 .../src/test/resources/log4j2.properties           |   28 -
 36 files changed, 4376 deletions(-)
 delete mode 100644 tooling/swagger-rest-dsl-generator/petstore.json
 delete mode 100644 tooling/swagger-rest-dsl-generator/pom.xml
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/AppendableGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/CodeEmitter.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DestinationGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DirectToOperationId.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/FilerGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitter.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationFilter.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationVisitor.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathVisitor.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDefinitionEmitter.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslDefinitionGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslSourceCodeGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslXmlGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/SpringBootProjectSourceCodeGenerator.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/LICENSE.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/NOTICE.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitterTest.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/PathSpringBootProjectSourceGeneratorTest.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDefinitionEmitterTest.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslGeneratorTest.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslSourceCodeGeneratorTest.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRoute.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRouteFilter.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SpringBootRestController.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstore.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponent.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponentXml.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreXml.txt
 delete mode 100644 tooling/swagger-rest-dsl-generator/src/test/resources/log4j2.properties


[camel] 02/02: camel-jbang - Remove duplicate command

Posted by da...@apache.org.
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

commit 7da80739d6180a524f6f98d09b3a9eb51ee50acb
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 17 08:06:59 2023 +0100

    camel-jbang - Remove duplicate command
---
 .../java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
index 96088a9b3a3..2dd2531aa54 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
@@ -123,7 +123,6 @@ public class CamelJBangMain implements Callable<Integer> {
                 .addSubcommand("hawtio", new CommandLine(new Hawtio(main)))
                 .addSubcommand("bind", new CommandLine(new Bind(main)))
                 .addSubcommand("pipe", new CommandLine(new Pipe(main)))
-                .addSubcommand("dependencies", new CommandLine(new DependencyList(main)))
                 .addSubcommand("export", new CommandLine(new Export(main)))
                 .addSubcommand("completion", new CommandLine(new Complete(main)));
 


[camel] 01/02: Remove swagger-rest-dsl-generator - no longer in use in Camel v4

Posted by da...@apache.org.
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

commit 975d0718dd61c5d6f83235619fe2908e66c73d22
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 17 07:49:15 2023 +0100

    Remove swagger-rest-dsl-generator - no longer in use in Camel v4
---
 tooling/pom.xml                                    |    1 -
 tooling/swagger-rest-dsl-generator/petstore.json   | 1042 --------------------
 tooling/swagger-rest-dsl-generator/pom.xml         |   89 --
 .../generator/swagger/AppendableGenerator.java     |   37 -
 .../camel/generator/swagger/CodeEmitter.java       |   25 -
 .../generator/swagger/DestinationGenerator.java    |   26 -
 .../generator/swagger/DirectToOperationId.java     |   37 -
 .../camel/generator/swagger/FilerGenerator.java    |   39 -
 .../swagger/MethodBodySourceCodeEmitter.java       |  166 ----
 .../camel/generator/swagger/OperationFilter.java   |   45 -
 .../camel/generator/swagger/OperationVisitor.java  |  128 ---
 .../camel/generator/swagger/PathGenerator.java     |   38 -
 .../camel/generator/swagger/PathVisitor.java       |   48 -
 .../generator/swagger/RestDefinitionEmitter.java   |   96 --
 .../swagger/RestDslDefinitionGenerator.java        |   40 -
 .../camel/generator/swagger/RestDslGenerator.java  |  154 ---
 .../swagger/RestDslSourceCodeGenerator.java        |  210 ----
 .../generator/swagger/RestDslXmlGenerator.java     |  128 ---
 .../SpringBootProjectSourceCodeGenerator.java      |  111 ---
 .../src/main/resources/META-INF/LICENSE.txt        |  203 ----
 .../src/main/resources/META-INF/NOTICE.txt         |   14 -
 .../swagger/MethodBodySourceCodeEmitterTest.java   |   56 --
 .../PathSpringBootProjectSourceGeneratorTest.java  |   48 -
 .../swagger/RestDefinitionEmitterTest.java         |   70 --
 .../generator/swagger/RestDslGeneratorTest.java    |  106 --
 .../swagger/RestDslSourceCodeGeneratorTest.java    |  104 --
 .../generator/swagger/RestDslXmlGeneratorTest.java |  103 --
 .../src/test/resources/MyRestRoute.txt             |  294 ------
 .../src/test/resources/MyRestRouteFilter.txt       |   78 --
 .../test/resources/SpringBootRestController.txt    |   25 -
 .../src/test/resources/SwaggerPetstore.txt         |  291 ------
 .../resources/SwaggerPetstoreWithRestComponent.txt |  294 ------
 .../SwaggerPetstoreWithRestComponentXml.txt        |  101 --
 .../src/test/resources/SwaggerPetstoreXml.txt      |  100 --
 .../src/test/resources/log4j2.properties           |   28 -
 35 files changed, 4375 deletions(-)

diff --git a/tooling/pom.xml b/tooling/pom.xml
index 5c420e4d151..464114f7ea9 100644
--- a/tooling/pom.xml
+++ b/tooling/pom.xml
@@ -39,7 +39,6 @@
         <module>camel-tooling-model</module>
         <module>camel-util-json</module>
         <module>camel-tooling-util</module>
-        <module>swagger-rest-dsl-generator</module>
         <module>openapi-rest-dsl-generator</module>
         <module>maven</module>
     </modules>
diff --git a/tooling/swagger-rest-dsl-generator/petstore.json b/tooling/swagger-rest-dsl-generator/petstore.json
deleted file mode 100644
index ebda8388852..00000000000
--- a/tooling/swagger-rest-dsl-generator/petstore.json
+++ /dev/null
@@ -1,1042 +0,0 @@
-{
-  "swagger": "2.0",
-  "info": {
-    "description": "This is a sample server Petstore server.  You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).  For this sample, you can use the api key `special-key` to test the authorization filters.",
-    "version": "1.0.0",
-    "title": "Swagger Petstore",
-    "termsOfService": "http://swagger.io/terms/",
-    "contact": {
-      "email": "apiteam@swagger.io"
-    },
-    "license": {
-      "name": "Apache 2.0",
-      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
-    }
-  },
-  "host": "petstore.swagger.io",
-  "basePath": "/v2",
-  "tags": [
-    {
-      "name": "pet",
-      "description": "Everything about your Pets",
-      "externalDocs": {
-        "description": "Find out more",
-        "url": "http://swagger.io"
-      }
-    },
-    {
-      "name": "store",
-      "description": "Access to Petstore orders"
-    },
-    {
-      "name": "user",
-      "description": "Operations about user",
-      "externalDocs": {
-        "description": "Find out more about our store",
-        "url": "http://swagger.io"
-      }
-    }
-  ],
-  "schemes": [
-    "http"
-  ],
-  "paths": {
-    "/pet": {
-      "post": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Add a new pet to the store",
-        "description": "",
-        "operationId": "addPet",
-        "consumes": [
-          "application/json",
-          "application/xml"
-        ],
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "in": "body",
-            "name": "body",
-            "description": "Pet object that needs to be added to the store",
-            "required": true,
-            "schema": {
-              "$ref": "#/definitions/Pet"
-            }
-          },
-          {
-            "name": "verbose",
-            "in": "query",
-            "description": "Verbose data",
-            "type": "boolean",
-            "default": false
-          }
-        ],
-        "responses": {
-          "405": {
-            "description": "Invalid input"
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ]
-      },
-      "put": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Update an existing pet",
-        "description": "",
-        "operationId": "updatePet",
-        "consumes": [
-          "application/json",
-          "application/xml"
-        ],
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "in": "body",
-            "name": "body",
-            "description": "Pet object that needs to be added to the store",
-            "required": true,
-            "schema": {
-              "$ref": "#/definitions/Pet"
-            }
-          }
-        ],
-        "responses": {
-          "400": {
-            "description": "Invalid ID supplied"
-          },
-          "404": {
-            "description": "Pet not found"
-          },
-          "405": {
-            "description": "Validation exception"
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ]
-      }
-    },
-    "/pet/findByStatus": {
-      "get": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Finds Pets by status",
-        "description": "Multiple status values can be provided with comma separated strings",
-        "operationId": "findPetsByStatus",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "status",
-            "in": "query",
-            "description": "Status values that need to be considered for filter",
-            "required": true,
-            "type": "array",
-            "items": {
-              "type": "string",
-              "enum": [
-                "available",
-                "pending",
-                "sold"
-              ],
-              "default": "available"
-            },
-            "collectionFormat": "multi"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "type": "array",
-              "items": {
-                "$ref": "#/definitions/Pet"
-              }
-            }
-          },
-          "400": {
-            "description": "Invalid status value"
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ]
-      }
-    },
-    "/pet/findByTags": {
-      "get": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Finds Pets by tags",
-        "description": "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
-        "operationId": "findPetsByTags",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "tags",
-            "in": "query",
-            "description": "Tags to filter by",
-            "required": true,
-            "type": "array",
-            "items": {
-              "type": "string"
-            },
-            "collectionFormat": "multi"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "type": "array",
-              "items": {
-                "$ref": "#/definitions/Pet"
-              }
-            }
-          },
-          "400": {
-            "description": "Invalid tag value"
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ],
-        "deprecated": true
-      }
-    },
-    "/pet/{petId}": {
-      "get": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Find pet by ID",
-        "description": "Returns a single pet",
-        "operationId": "getPetById",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "petId",
-            "in": "path",
-            "description": "ID of pet to return",
-            "required": true,
-            "type": "integer",
-            "format": "int64"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "$ref": "#/definitions/Pet"
-            }
-          },
-          "400": {
-            "description": "Invalid ID supplied"
-          },
-          "404": {
-            "description": "Pet not found"
-          }
-        },
-        "security": [
-          {
-            "api_key": []
-          }
-        ]
-      },
-      "post": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Updates a pet in the store with form data",
-        "description": "",
-        "operationId": "updatePetWithForm",
-        "consumes": [
-          "application/x-www-form-urlencoded"
-        ],
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "petId",
-            "in": "path",
-            "description": "ID of pet that needs to be updated",
-            "required": true,
-            "type": "integer",
-            "format": "int64"
-          },
-          {
-            "name": "name",
-            "in": "formData",
-            "description": "Updated name of the pet",
-            "required": false,
-            "type": "string"
-          },
-          {
-            "name": "status",
-            "in": "formData",
-            "description": "Updated status of the pet",
-            "required": false,
-            "type": "string"
-          }
-        ],
-        "responses": {
-          "405": {
-            "description": "Invalid input"
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ]
-      },
-      "delete": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "Deletes a pet",
-        "description": "",
-        "operationId": "deletePet",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "api_key",
-            "in": "header",
-            "required": false,
-            "type": "string"
-          },
-          {
-            "name": "petId",
-            "in": "path",
-            "description": "Pet id to delete",
-            "required": true,
-            "type": "integer",
-            "format": "int64"
-          }
-        ],
-        "responses": {
-          "400": {
-            "description": "Invalid ID supplied"
-          },
-          "404": {
-            "description": "Pet not found"
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ]
-      }
-    },
-    "/pet/{petId}/uploadImage": {
-      "post": {
-        "tags": [
-          "pet"
-        ],
-        "summary": "uploads an image",
-        "description": "",
-        "operationId": "uploadFile",
-        "consumes": [
-          "multipart/form-data"
-        ],
-        "produces": [
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "petId",
-            "in": "path",
-            "description": "ID of pet to update",
-            "required": true,
-            "type": "integer",
-            "format": "int64"
-          },
-          {
-            "name": "additionalMetadata",
-            "in": "formData",
-            "description": "Additional data to pass to server",
-            "required": false,
-            "type": "string"
-          },
-          {
-            "name": "file",
-            "in": "formData",
-            "description": "file to upload",
-            "required": false,
-            "type": "file"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "$ref": "#/definitions/ApiResponse"
-            }
-          }
-        },
-        "security": [
-          {
-            "petstore_auth": [
-              "write:pets",
-              "read:pets"
-            ]
-          }
-        ]
-      }
-    },
-    "/store/inventory": {
-      "get": {
-        "tags": [
-          "store"
-        ],
-        "summary": "Returns pet inventories by status",
-        "description": "Returns a map of status codes to quantities",
-        "operationId": "getInventory",
-        "produces": [
-          "application/json"
-        ],
-        "parameters": [],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "type": "object",
-              "additionalProperties": {
-                "type": "integer",
-                "format": "int32"
-              }
-            }
-          }
-        },
-        "security": [
-          {
-            "api_key": []
-          }
-        ]
-      }
-    },
-    "/store/order": {
-      "post": {
-        "tags": [
-          "store"
-        ],
-        "summary": "Place an order for a pet",
-        "description": "",
-        "operationId": "placeOrder",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "in": "body",
-            "name": "body",
-            "description": "order placed for purchasing the pet",
-            "required": true,
-            "schema": {
-              "$ref": "#/definitions/Order"
-            }
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "$ref": "#/definitions/Order"
-            }
-          },
-          "400": {
-            "description": "Invalid Order"
-          }
-        }
-      }
-    },
-    "/store/order/{orderId}": {
-      "get": {
-        "tags": [
-          "store"
-        ],
-        "summary": "Find purchase order by ID",
-        "description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions",
-        "operationId": "getOrderById",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "orderId",
-            "in": "path",
-            "description": "ID of pet that needs to be fetched",
-            "required": true,
-            "type": "integer",
-            "maximum": 10.0,
-            "minimum": 1.0,
-            "format": "int64"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "$ref": "#/definitions/Order"
-            }
-          },
-          "400": {
-            "description": "Invalid ID supplied"
-          },
-          "404": {
-            "description": "Order not found"
-          }
-        }
-      },
-      "delete": {
-        "tags": [
-          "store"
-        ],
-        "summary": "Delete purchase order by ID",
-        "description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors",
-        "operationId": "deleteOrder",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "orderId",
-            "in": "path",
-            "description": "ID of the order that needs to be deleted",
-            "required": true,
-            "type": "integer",
-            "minimum": 1.0,
-            "format": "int64"
-          }
-        ],
-        "responses": {
-          "400": {
-            "description": "Invalid ID supplied"
-          },
-          "404": {
-            "description": "Order not found"
-          }
-        }
-      }
-    },
-    "/user": {
-      "post": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Create user",
-        "description": "This can only be done by the logged in user.",
-        "operationId": "createUser",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "in": "body",
-            "name": "body",
-            "description": "Created user object",
-            "required": true,
-            "schema": {
-              "$ref": "#/definitions/User"
-            }
-          }
-        ],
-        "responses": {
-          "default": {
-            "description": "successful operation"
-          }
-        }
-      }
-    },
-    "/user/createWithArray": {
-      "post": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Creates list of users with given input array",
-        "description": "",
-        "operationId": "createUsersWithArrayInput",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "in": "body",
-            "name": "body",
-            "description": "List of user object",
-            "required": true,
-            "schema": {
-              "type": "array",
-              "items": {
-                "$ref": "#/definitions/User"
-              }
-            }
-          }
-        ],
-        "responses": {
-          "default": {
-            "description": "successful operation"
-          }
-        }
-      }
-    },
-    "/user/createWithList": {
-      "post": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Creates list of users with given input array",
-        "description": "",
-        "operationId": "createUsersWithListInput",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "in": "body",
-            "name": "body",
-            "description": "List of user object",
-            "required": true,
-            "schema": {
-              "type": "array",
-              "items": {
-                "$ref": "#/definitions/User"
-              }
-            }
-          }
-        ],
-        "responses": {
-          "default": {
-            "description": "successful operation"
-          }
-        }
-      }
-    },
-    "/user/login": {
-      "get": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Logs user into the system",
-        "description": "",
-        "operationId": "loginUser",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "username",
-            "in": "query",
-            "description": "The user name for login",
-            "required": true,
-            "type": "string"
-          },
-          {
-            "name": "password",
-            "in": "query",
-            "description": "The password for login in clear text",
-            "required": true,
-            "type": "string"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "type": "string"
-            },
-            "headers": {
-              "X-Rate-Limit": {
-                "type": "integer",
-                "format": "int32",
-                "description": "calls per hour allowed by the user"
-              },
-              "X-Expires-After": {
-                "type": "string",
-                "format": "date-time",
-                "description": "date in UTC when token expires"
-              }
-            }
-          },
-          "400": {
-            "description": "Invalid username/password supplied"
-          }
-        }
-      }
-    },
-    "/user/logout": {
-      "get": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Logs out current logged in user session",
-        "description": "",
-        "operationId": "logoutUser",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [],
-        "responses": {
-          "default": {
-            "description": "successful operation"
-          }
-        }
-      }
-    },
-    "/user/{username}": {
-      "get": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Get user by user name",
-        "description": "",
-        "operationId": "getUserByName",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "username",
-            "in": "path",
-            "description": "The name that needs to be fetched. Use user1 for testing. ",
-            "required": true,
-            "type": "string"
-          }
-        ],
-        "responses": {
-          "200": {
-            "description": "successful operation",
-            "schema": {
-              "$ref": "#/definitions/User"
-            }
-          },
-          "400": {
-            "description": "Invalid username supplied"
-          },
-          "404": {
-            "description": "User not found"
-          }
-        }
-      },
-      "put": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Updated user",
-        "description": "This can only be done by the logged in user.",
-        "operationId": "updateUser",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "username",
-            "in": "path",
-            "description": "name that need to be updated",
-            "required": true,
-            "type": "string"
-          },
-          {
-            "in": "body",
-            "name": "body",
-            "description": "Updated user object",
-            "required": true,
-            "schema": {
-              "$ref": "#/definitions/User"
-            }
-          }
-        ],
-        "responses": {
-          "400": {
-            "description": "Invalid user supplied"
-          },
-          "404": {
-            "description": "User not found"
-          }
-        }
-      },
-      "delete": {
-        "tags": [
-          "user"
-        ],
-        "summary": "Delete user",
-        "description": "This can only be done by the logged in user.",
-        "operationId": "deleteUser",
-        "produces": [
-          "application/xml",
-          "application/json"
-        ],
-        "parameters": [
-          {
-            "name": "username",
-            "in": "path",
-            "description": "The name that needs to be deleted",
-            "required": true,
-            "type": "string"
-          }
-        ],
-        "responses": {
-          "400": {
-            "description": "Invalid username supplied"
-          },
-          "404": {
-            "description": "User not found"
-          }
-        }
-      }
-    }
-  },
-  "securityDefinitions": {
-    "petstore_auth": {
-      "type": "oauth2",
-      "authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
-      "flow": "implicit",
-      "scopes": {
-        "write:pets": "modify pets in your account",
-        "read:pets": "read your pets"
-      }
-    },
-    "api_key": {
-      "type": "apiKey",
-      "name": "api_key",
-      "in": "header"
-    }
-  },
-  "definitions": {
-    "Order": {
-      "type": "object",
-      "properties": {
-        "id": {
-          "type": "integer",
-          "format": "int64"
-        },
-        "petId": {
-          "type": "integer",
-          "format": "int64"
-        },
-        "quantity": {
-          "type": "integer",
-          "format": "int32"
-        },
-        "shipDate": {
-          "type": "string",
-          "format": "date-time"
-        },
-        "status": {
-          "type": "string",
-          "description": "Order Status",
-          "enum": [
-            "placed",
-            "approved",
-            "delivered"
-          ]
-        },
-        "complete": {
-          "type": "boolean",
-          "default": false
-        }
-      },
-      "xml": {
-        "name": "Order"
-      }
-    },
-    "Category": {
-      "type": "object",
-      "properties": {
-        "id": {
-          "type": "integer",
-          "format": "int64"
-        },
-        "name": {
-          "type": "string"
-        }
-      },
-      "xml": {
-        "name": "Category"
-      }
-    },
-    "User": {
-      "type": "object",
-      "properties": {
-        "id": {
-          "type": "integer",
-          "format": "int64"
-        },
-        "username": {
-          "type": "string"
-        },
-        "firstName": {
-          "type": "string"
-        },
-        "lastName": {
-          "type": "string"
-        },
-        "email": {
-          "type": "string"
-        },
-        "password": {
-          "type": "string"
-        },
-        "phone": {
-          "type": "string"
-        },
-        "userStatus": {
-          "type": "integer",
-          "format": "int32",
-          "description": "User Status"
-        }
-      },
-      "xml": {
-        "name": "User"
-      }
-    },
-    "Tag": {
-      "type": "object",
-      "properties": {
-        "id": {
-          "type": "integer",
-          "format": "int64"
-        },
-        "name": {
-          "type": "string"
-        }
-      },
-      "xml": {
-        "name": "Tag"
-      }
-    },
-    "Pet": {
-      "type": "object",
-      "required": [
-        "name",
-        "photoUrls"
-      ],
-      "properties": {
-        "id": {
-          "type": "integer",
-          "format": "int64"
-        },
-        "category": {
-          "$ref": "#/definitions/Category"
-        },
-        "name": {
-          "type": "string",
-          "example": "doggie"
-        },
-        "photoUrls": {
-          "type": "array",
-          "xml": {
-            "name": "photoUrl",
-            "wrapped": true
-          },
-          "items": {
-            "type": "string"
-          }
-        },
-        "tags": {
-          "type": "array",
-          "xml": {
-            "name": "tag",
-            "wrapped": true
-          },
-          "items": {
-            "$ref": "#/definitions/Tag"
-          }
-        },
-        "status": {
-          "type": "string",
-          "description": "pet status in the store",
-          "enum": [
-            "available",
-            "pending",
-            "sold"
-          ]
-        }
-      },
-      "xml": {
-        "name": "Pet"
-      }
-    },
-    "ApiResponse": {
-      "type": "object",
-      "properties": {
-        "code": {
-          "type": "integer",
-          "format": "int32"
-        },
-        "type": {
-          "type": "string"
-        },
-        "message": {
-          "type": "string"
-        }
-      }
-    }
-  },
-  "externalDocs": {
-    "description": "Find out more about Swagger",
-    "url": "http://swagger.io"
-  }
-}
\ No newline at end of file
diff --git a/tooling/swagger-rest-dsl-generator/pom.xml b/tooling/swagger-rest-dsl-generator/pom.xml
deleted file mode 100644
index 143a7f286f8..00000000000
--- a/tooling/swagger-rest-dsl-generator/pom.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>tooling</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>camel-swagger-rest-dsl-generator</artifactId>
-
-    <name>Camel :: Tooling :: Swagger REST DSL Generator</name>
-    <description>Generator of REST DSL route definitions from Swagger (OpenAPI) specification</description>
-
-    <properties>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.squareup</groupId>
-            <artifactId>javapoet</artifactId>
-            <version>${javapoet-version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.swagger</groupId>
-            <artifactId>swagger-parser</artifactId>
-            <version>${swagger-java-parser-version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>jakarta.annotation</groupId>
-            <artifactId>jakarta.annotation-api</artifactId>
-        </dependency>
-
-        <!-- test -->
-        <dependency>
-            <groupId>org.junit.jupiter</groupId>
-            <artifactId>junit-jupiter</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.assertj</groupId>
-            <artifactId>assertj-core</artifactId>
-            <version>${assertj-version}</version>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j2-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-        </plugins>
-    </build>
-
-</project>
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/AppendableGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/AppendableGenerator.java
deleted file mode 100644
index a3ac1b20bd2..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/AppendableGenerator.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.IOException;
-
-import com.squareup.javapoet.JavaFile;
-import io.swagger.models.Swagger;
-
-final class AppendableGenerator extends RestDslSourceCodeGenerator<Appendable> {
-
-    AppendableGenerator(final Swagger swagger) {
-        super(swagger);
-    }
-
-    @Override
-    public void generate(final Appendable destination) throws IOException {
-        final JavaFile javaFile = generateSourceCode();
-
-        javaFile.writeTo(destination);
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/CodeEmitter.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/CodeEmitter.java
deleted file mode 100644
index 19560f308af..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/CodeEmitter.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-interface CodeEmitter<T> {
-
-    CodeEmitter<T> emit(String method, Object... args);
-
-    T result();
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DestinationGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DestinationGenerator.java
deleted file mode 100644
index b64afc947f9..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DestinationGenerator.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import io.swagger.models.Operation;
-
-@FunctionalInterface
-public interface DestinationGenerator {
-
-    String generateDestinationFor(Operation operation);
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DirectToOperationId.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DirectToOperationId.java
deleted file mode 100644
index 2c079bb920c..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/DirectToOperationId.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.util.Optional;
-import java.util.concurrent.atomic.AtomicInteger;
-
-import io.swagger.models.Operation;
-
-public final class DirectToOperationId implements DestinationGenerator {
-
-    private final AtomicInteger directRouteCount = new AtomicInteger();
-
-    @Override
-    public String generateDestinationFor(final Operation operation) {
-        return "direct:" + Optional.ofNullable(operation.getOperationId()).orElseGet(this::generateDirectName);
-    }
-
-    String generateDirectName() {
-        return "rest" + directRouteCount.incrementAndGet();
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/FilerGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/FilerGenerator.java
deleted file mode 100644
index 00e8ad5e841..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/FilerGenerator.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.IOException;
-
-import javax.annotation.processing.Filer;
-
-import com.squareup.javapoet.JavaFile;
-import io.swagger.models.Swagger;
-
-final class FilerGenerator extends RestDslSourceCodeGenerator<Filer> {
-
-    FilerGenerator(final Swagger swagger) {
-        super(swagger);
-    }
-
-    @Override
-    public void generate(final Filer destination) throws IOException {
-        final JavaFile javaFile = generateSourceCode();
-
-        javaFile.writeTo(destination);
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitter.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitter.java
deleted file mode 100644
index ec1ddda9b49..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitter.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.util.ArrayDeque;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Deque;
-import java.util.List;
-import java.util.StringJoiner;
-import java.util.stream.Collectors;
-
-import com.squareup.javapoet.MethodSpec;
-
-import static org.apache.commons.lang3.ClassUtils.isPrimitiveOrWrapper;
-
-class MethodBodySourceCodeEmitter implements CodeEmitter<MethodSpec> {
-
-    private final MethodSpec.Builder builder;
-
-    private boolean first = true;
-
-    private final Deque<Integer> indentIntentStack = new ArrayDeque<>();
-
-    private final Deque<Integer> indentStack = new ArrayDeque<>();
-
-    MethodBodySourceCodeEmitter(final MethodSpec.Builder builder) {
-        this.builder = builder;
-        indentStack.push(0);
-    }
-
-    @Override
-    public CodeEmitter<MethodSpec> emit(final String method, final Object... args) {
-        final boolean hasArgs = args != null && args.length > 0;
-
-        final int indent = indentLevelOf(method);
-
-        if (!first) {
-            builder.addCode("\n");
-        }
-
-        builder.addCode(String.join("", Collections.nCopies(indentStack.peek(), "$<")));
-        builder.addCode(String.join("", Collections.nCopies(indent, "$>")));
-
-        if (!first) {
-            builder.addCode(".");
-        }
-
-        indentStack.push(indent);
-
-        if (hasArgs) {
-            builder.addCode("$L(" + invocationLiteralsFor(args) + ")", extend(method, argumentsFor(args)));
-        } else {
-            builder.addCode("$L()", method);
-        }
-
-        first = false;
-
-        return this;
-    }
-
-    @Override
-    public MethodSpec result() {
-        builder.addCode(String.join("", Collections.nCopies(indentStack.peek(), "$<")));
-        builder.addCode(";\n");
-        return builder.build();
-    }
-
-    Object[] argumentsFor(final Object[] args) {
-        final List<Object> arguments = new ArrayList<>(args.length);
-
-        for (final Object arg : args) {
-            if (isPrimitiveOrWrapper(arg.getClass())) {
-                arguments.add(arg);
-            } else if (arg instanceof String) {
-                arguments.add(arg);
-            } else if (arg instanceof Enum) {
-                arguments.add(arg.getClass());
-                arguments.add(arg);
-            } else if (arg instanceof String[]) {
-                arguments.add(Arrays.stream((String[]) arg).collect(Collectors.joining(",")));
-            }
-        }
-
-        return arguments.toArray(new Object[arguments.size()]);
-    }
-
-    Object[] extend(final Object first, final Object... others) {
-        if (others == null || others.length == 0) {
-            return new Object[] { first };
-        }
-
-        final Object[] ret = new Object[1 + others.length];
-
-        ret[0] = first;
-        System.arraycopy(others, 0, ret, 1, others.length);
-
-        return ret;
-    }
-
-    int indentLevelOf(final String method) {
-        switch (method) {
-            case "rest":
-                return 0;
-            case "post":
-            case "get":
-            case "put":
-            case "patch":
-            case "delete":
-            case "head":
-            case "options":
-                return 1;
-            case "param":
-                indentIntentStack.push(3);
-                return 2;
-            case "endParam":
-                indentIntentStack.pop();
-                return 2;
-            case "route":
-                indentIntentStack.push(3);
-                return 2;
-            case "endRest":
-                indentIntentStack.pop();
-                return 2;
-            default:
-                if (indentIntentStack.isEmpty()) {
-                    return 2;
-                }
-                return indentIntentStack.peek();
-        }
-    }
-
-    String invocationLiteralsFor(final Object[] args) {
-        final StringJoiner literals = new StringJoiner(",");
-
-        for (final Object arg : args) {
-            if (isPrimitiveOrWrapper(arg.getClass())) {
-                literals.add("$L");
-            } else if (arg instanceof String) {
-                literals.add("$S");
-            } else if (arg instanceof Enum) {
-                literals.add("$T.$L");
-            } else if (arg instanceof String[]) {
-                literals.add("$S");
-            }
-        }
-
-        return literals.toString();
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationFilter.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationFilter.java
deleted file mode 100644
index 10fb4e8b213..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationFilter.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.util.Arrays;
-
-import org.apache.camel.support.PatternHelper;
-
-class OperationFilter {
-
-    // operation names to include separated by comma (wildcards can be used, eg find*)
-    private String includes;
-
-    public String getIncludes() {
-        return includes;
-    }
-
-    public void setIncludes(String includes) {
-        this.includes = includes;
-    }
-
-    boolean accept(String name) {
-        boolean match = true;
-
-        if (includes != null) {
-            String[] patterns = includes.split(",");
-            match = Arrays.stream(patterns).anyMatch(pattern -> PatternHelper.matchPattern(name, pattern));
-        }
-        return match;
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationVisitor.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationVisitor.java
deleted file mode 100644
index 470d6ab25a2..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/OperationVisitor.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import io.swagger.models.HttpMethod;
-import io.swagger.models.Operation;
-import io.swagger.models.parameters.AbstractSerializableParameter;
-import io.swagger.models.parameters.Parameter;
-import io.swagger.models.properties.Property;
-import org.apache.camel.model.rest.CollectionFormat;
-import org.apache.camel.model.rest.RestParamType;
-import org.apache.camel.util.ObjectHelper;
-
-class OperationVisitor<T> {
-
-    private final DestinationGenerator destinationGenerator;
-
-    private final CodeEmitter<T> emitter;
-
-    private final OperationFilter filter;
-
-    private final String path;
-
-    OperationVisitor(final CodeEmitter<T> emitter, final OperationFilter filter, final String path,
-                     final DestinationGenerator destinationGenerator) {
-        this.emitter = emitter;
-        this.filter = filter;
-        this.path = path;
-        this.destinationGenerator = destinationGenerator;
-    }
-
-    List<String> asStringList(final List<?> values) {
-        if (values == null || values.isEmpty()) {
-            return Collections.emptyList();
-        }
-
-        final List<String> stringList = new ArrayList<>();
-        values.forEach(v -> stringList.add(String.valueOf(v)));
-
-        return stringList;
-    }
-
-    CodeEmitter<T> emit(final Parameter parameter) {
-        emitter.emit("param");
-        emit("name", parameter.getName());
-        final String parameterType = parameter.getIn();
-        if (ObjectHelper.isNotEmpty(parameterType)) {
-            emit("type", RestParamType.valueOf(parameterType));
-        }
-        if (parameter instanceof AbstractSerializableParameter) {
-            final AbstractSerializableParameter serializableParameter = (AbstractSerializableParameter) parameter;
-
-            final String dataType = serializableParameter.getType();
-            emit("dataType", dataType);
-            emit("allowableValues", asStringList(serializableParameter.getEnumValue()));
-            final String collectionFormat = serializableParameter.getCollectionFormat();
-            if (ObjectHelper.isNotEmpty(collectionFormat)) {
-                emit("collectionFormat", CollectionFormat.valueOf(collectionFormat));
-            }
-            if (ObjectHelper.isNotEmpty(serializableParameter.getDefault())) {
-                String value = serializableParameter.getDefault().toString();
-                emit("defaultValue", value);
-            }
-
-            final Property items = serializableParameter.getItems();
-            if ("array".equals(dataType) && items != null) {
-                emit("arrayType", items.getType());
-            }
-        }
-        emit("required", parameter.getRequired());
-        emit("description", parameter.getDescription());
-        emitter.emit("endParam");
-
-        return emitter;
-    }
-
-    CodeEmitter<T> emit(final String method, final List<String> values) {
-        if (values == null || values.isEmpty()) {
-            return emitter;
-        }
-
-        return emitter.emit(method, new Object[] { values.toArray(new String[values.size()]) });
-    }
-
-    CodeEmitter<T> emit(final String method, final Object value) {
-        if (ObjectHelper.isEmpty(value)) {
-            return emitter;
-        }
-
-        return emitter.emit(method, value);
-    }
-
-    void visit(final HttpMethod method, final Operation operation) {
-        if (filter.accept(operation.getOperationId())) {
-            final String methodName = method.name().toLowerCase();
-            emitter.emit(methodName, path);
-
-            emit("id", operation.getOperationId());
-            emit("description", operation.getDescription());
-            emit("consumes", operation.getConsumes());
-            emit("produces", operation.getProduces());
-
-            operation.getParameters().forEach(parameter -> {
-                emit(parameter);
-            });
-
-            emitter.emit("to", destinationGenerator.generateDestinationFor(operation));
-        }
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathGenerator.java
deleted file mode 100644
index e53a5f863d9..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathGenerator.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.IOException;
-import java.nio.file.Path;
-
-import com.squareup.javapoet.JavaFile;
-import io.swagger.models.Swagger;
-
-final class PathGenerator extends RestDslSourceCodeGenerator<Path> {
-
-    PathGenerator(final Swagger swagger) {
-        super(swagger);
-    }
-
-    @Override
-    public void generate(final Path destination) throws IOException {
-        final JavaFile javaFile = generateSourceCode();
-
-        javaFile.writeTo(destination);
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathVisitor.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathVisitor.java
deleted file mode 100644
index ba55fa1dda5..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/PathVisitor.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import io.swagger.models.Path;
-import org.apache.camel.util.ObjectHelper;
-
-class PathVisitor<T> {
-
-    private final DestinationGenerator destinationGenerator;
-
-    private final CodeEmitter<T> emitter;
-    private final OperationFilter filter;
-
-    PathVisitor(final String basePath, final CodeEmitter<T> emitter, OperationFilter filter,
-                final DestinationGenerator destinationGenerator) {
-        this.emitter = emitter;
-        this.filter = filter;
-        this.destinationGenerator = destinationGenerator;
-
-        if (ObjectHelper.isEmpty(basePath)) {
-            emitter.emit("rest");
-        } else {
-            emitter.emit("rest", basePath);
-        }
-    }
-
-    void visit(final String path, final Path definition) {
-        final OperationVisitor<T> restDslOperation = new OperationVisitor<>(emitter, filter, path, destinationGenerator);
-
-        definition.getOperationMap().forEach(restDslOperation::visit);
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDefinitionEmitter.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDefinitionEmitter.java
deleted file mode 100644
index 796012aab02..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDefinitionEmitter.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.model.rest.RestsDefinition;
-
-class RestDefinitionEmitter implements CodeEmitter<RestsDefinition> {
-
-    private final RestsDefinition definition;
-
-    private Object variable;
-
-    RestDefinitionEmitter(final CamelContext context) {
-        definition = new RestsDefinition();
-        variable = definition;
-    }
-
-    @Override
-    public CodeEmitter<RestsDefinition> emit(final String method, final Object... args) {
-        try {
-            final Class<? extends Object> type = variable.getClass();
-
-            final Object[] arguments = argumentsFor(args);
-
-            final Method declaredMethod = type.getMethod(method, parameterTypesOf(arguments));
-
-            variable = declaredMethod.invoke(variable, arguments);
-        } catch (InvocationTargetException | NoSuchMethodException | IllegalAccessException e) {
-            throw new IllegalStateException(e);
-        }
-
-        return this;
-    }
-
-    @Override
-    public RestsDefinition result() {
-        return definition;
-    }
-
-    Object[] argumentsFor(final Object[] args) {
-        final List<Object> arguments = new ArrayList<>(args.length);
-
-        for (final Object arg : args) {
-            if (arg instanceof String[]) {
-                arguments.add(Arrays.stream((String[]) arg).collect(Collectors.joining(",")));
-            } else {
-                arguments.add(arg);
-            }
-        }
-
-        return arguments.toArray(new Object[arguments.size()]);
-    }
-
-    Class<?>[] parameterTypesOf(final Object[] args) {
-        final Class<?>[] parameterTypes = new Class<?>[args.length];
-
-        for (int i = 0; i < args.length; i++) {
-            parameterTypes[i] = args[i].getClass();
-        }
-
-        return parameterTypes;
-    }
-
-    Class<?>[] typesOf(final Object[] args) {
-        final Class<?>[] types = new Class<?>[args.length];
-
-        for (int i = 0; i < types.length; i++) {
-            types[i] = args[i].getClass();
-        }
-
-        return types;
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslDefinitionGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslDefinitionGenerator.java
deleted file mode 100644
index d1a6a957178..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslDefinitionGenerator.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import io.swagger.models.Swagger;
-import org.apache.camel.CamelContext;
-import org.apache.camel.model.rest.RestsDefinition;
-
-public final class RestDslDefinitionGenerator extends RestDslGenerator<RestDslDefinitionGenerator> {
-
-    RestDslDefinitionGenerator(final Swagger swagger) {
-        super(swagger);
-    }
-
-    public RestsDefinition generate(final CamelContext context) {
-        final RestDefinitionEmitter emitter = new RestDefinitionEmitter(context);
-
-        final PathVisitor<RestsDefinition> restDslStatement
-                = new PathVisitor<>(swagger.getBasePath(), emitter, filter, destinationGenerator());
-
-        swagger.getPaths().forEach(restDslStatement::visit);
-
-        return emitter.result();
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslGenerator.java
deleted file mode 100644
index fca6514e2f2..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslGenerator.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.nio.file.Path;
-
-import javax.annotation.processing.Filer;
-
-import io.swagger.models.Swagger;
-import org.apache.camel.model.rest.RestsDefinition;
-
-import static org.apache.camel.util.ObjectHelper.notNull;
-
-/**
- * Source code and {@link RestsDefinition} generator that generates Camel REST DSL implementations from Swagger
- * (OpenAPI) specifications.
- */
-public abstract class RestDslGenerator<G> {
-
-    final Swagger swagger;
-
-    DestinationGenerator destinationGenerator = new DirectToOperationId();
-    OperationFilter filter = new OperationFilter();
-    String restComponent;
-    String restContextPath;
-    String apiContextPath;
-    boolean clientRequestValidation;
-    boolean springComponent;
-    boolean springBootProject;
-
-    RestDslGenerator(final Swagger swagger) {
-        this.swagger = notNull(swagger, "swagger");
-    }
-
-    public G withDestinationGenerator(final DestinationGenerator directRouteGenerator) {
-        notNull(directRouteGenerator, "directRouteGenerator");
-        this.destinationGenerator = directRouteGenerator;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    DestinationGenerator destinationGenerator() {
-        return destinationGenerator;
-    }
-
-    public G withOperationFilter(OperationFilter filter) {
-        this.filter = filter;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G withOperationFilter(String include) {
-        this.filter.setIncludes(include);
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G withRestComponent(String restComponent) {
-        this.restComponent = restComponent;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G withRestContextPath(String contextPath) {
-        this.restContextPath = contextPath;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G withApiContextPath(String contextPath) {
-        this.apiContextPath = contextPath;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G withClientRequestValidation() {
-        this.clientRequestValidation = true;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G asSpringComponent() {
-        this.springComponent = true;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public G asSpringBootProject() {
-        this.springBootProject = true;
-
-        @SuppressWarnings("unchecked")
-        final G that = (G) this;
-
-        return that;
-    }
-
-    public static RestDslSourceCodeGenerator<Appendable> toAppendable(final Swagger swagger) {
-        return new AppendableGenerator(swagger);
-    }
-
-    public static RestDslDefinitionGenerator toDefinition(final Swagger swagger) {
-        return new RestDslDefinitionGenerator(swagger);
-    }
-
-    public static RestDslXmlGenerator toXml(final Swagger swagger) {
-        return new RestDslXmlGenerator(swagger);
-    }
-
-    public static RestDslSourceCodeGenerator<Filer> toFiler(final Swagger swagger) {
-        return new FilerGenerator(swagger);
-    }
-
-    public static RestDslSourceCodeGenerator<Path> toPath(final Swagger swagger) {
-        return new PathGenerator(swagger);
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslSourceCodeGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslSourceCodeGenerator.java
deleted file mode 100644
index 8cf69724eae..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslSourceCodeGenerator.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.IOException;
-import java.time.Instant;
-import java.util.function.Function;
-import java.util.stream.Collector;
-
-import javax.annotation.processing.Generated;
-import javax.lang.model.element.Modifier;
-
-import com.squareup.javapoet.AnnotationSpec;
-import com.squareup.javapoet.ClassName;
-import com.squareup.javapoet.JavaFile;
-import com.squareup.javapoet.MethodSpec;
-import com.squareup.javapoet.TypeSpec;
-import io.swagger.models.Info;
-import io.swagger.models.Swagger;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.util.ObjectHelper;
-
-import static org.apache.camel.util.StringHelper.notEmpty;
-
-/**
- * Generates Java source code
- */
-public abstract class RestDslSourceCodeGenerator<T> extends RestDslGenerator<RestDslSourceCodeGenerator<T>> {
-    static final String DEFAULT_CLASS_NAME = "RestDslRoute";
-
-    static final String DEFAULT_PACKAGE_NAME = "rest.dsl.generated";
-
-    private static final String DEFAULT_INDENT = "    ";
-
-    private Function<Swagger, String> classNameGenerator = RestDslSourceCodeGenerator::generateClassName;
-
-    private Instant generated = Instant.now();
-
-    private String indent = DEFAULT_INDENT;
-
-    private Function<Swagger, String> packageNameGenerator = RestDslSourceCodeGenerator::generatePackageName;
-
-    private boolean sourceCodeTimestamps;
-
-    RestDslSourceCodeGenerator(final Swagger swagger) {
-        super(swagger);
-    }
-
-    public abstract void generate(T destination) throws IOException;
-
-    public RestDslSourceCodeGenerator<T> withClassName(final String className) {
-        notEmpty(className, "className");
-        this.classNameGenerator = s -> className;
-
-        return this;
-    }
-
-    public RestDslSourceCodeGenerator<T> withIndent(final String indent) {
-        this.indent = ObjectHelper.notNull(indent, "indent");
-
-        return this;
-    }
-
-    public RestDslSourceCodeGenerator<T> withoutSourceCodeTimestamps() {
-        sourceCodeTimestamps = false;
-
-        return this;
-    }
-
-    public RestDslSourceCodeGenerator<T> withPackageName(final String packageName) {
-        notEmpty(packageName, "packageName");
-        this.packageNameGenerator = s -> packageName;
-
-        return this;
-    }
-
-    public RestDslSourceCodeGenerator<T> withSourceCodeTimestamps() {
-        sourceCodeTimestamps = true;
-
-        return this;
-    }
-
-    MethodSpec generateConfigureMethod(final Swagger swagger) {
-        final MethodSpec.Builder configure = MethodSpec.methodBuilder("configure").addModifiers(Modifier.PUBLIC)
-                .returns(void.class).addJavadoc("Defines Apache Camel routes using REST DSL fluent API.\n");
-
-        final MethodBodySourceCodeEmitter emitter = new MethodBodySourceCodeEmitter(configure);
-
-        if (restComponent != null) {
-            configure.addCode("\n");
-            configure.addCode("restConfiguration().component(\"" + restComponent + "\")");
-            if (restContextPath != null) {
-                configure.addCode(".contextPath(\"" + restContextPath + "\")");
-            }
-            if (ObjectHelper.isNotEmpty(apiContextPath)) {
-                configure.addCode(".apiContextPath(\"" + apiContextPath + "\")");
-            }
-            if (clientRequestValidation) {
-                configure.addCode(".clientRequestValidation(true)");
-            }
-            configure.addCode(";\n\n");
-        }
-
-        final PathVisitor<MethodSpec> restDslStatement
-                = new PathVisitor<>(swagger.getBasePath(), emitter, filter, destinationGenerator());
-        swagger.getPaths().forEach(restDslStatement::visit);
-
-        return emitter.result();
-    }
-
-    Instant generated() {
-        return generated;
-    }
-
-    JavaFile generateSourceCode() {
-        final MethodSpec methodSpec = generateConfigureMethod(swagger);
-
-        final String classNameToUse = classNameGenerator.apply(swagger);
-
-        final AnnotationSpec.Builder generatedAnnotation = AnnotationSpec.builder(Generated.class).addMember("value",
-                "$S", getClass().getName());
-        if (sourceCodeTimestamps) {
-            generatedAnnotation.addMember("date", "$S", generated());
-        }
-
-        TypeSpec.Builder builder = TypeSpec.classBuilder(classNameToUse).superclass(RouteBuilder.class)
-                .addModifiers(Modifier.PUBLIC, Modifier.FINAL).addMethod(methodSpec)
-                .addAnnotation(generatedAnnotation.build())
-                .addJavadoc("Generated from Swagger specification by Camel REST DSL generator.\n");
-        if (springComponent) {
-            final AnnotationSpec.Builder springAnnotation
-                    = AnnotationSpec.builder(ClassName.bestGuess("org.springframework.stereotype.Component"));
-            builder.addAnnotation(springAnnotation.build());
-        }
-        TypeSpec generatedRouteBuilder = builder.build();
-
-        final String packageNameToUse = packageNameGenerator.apply(swagger);
-
-        return JavaFile.builder(packageNameToUse, generatedRouteBuilder).indent(indent).build();
-    }
-
-    RestDslSourceCodeGenerator<T> withGeneratedTime(final Instant generated) {
-        this.generated = generated;
-
-        return this;
-    }
-
-    static String generateClassName(final Swagger swagger) {
-        final Info info = swagger.getInfo();
-        if (info == null) {
-            return DEFAULT_CLASS_NAME;
-        }
-
-        final String title = info.getTitle();
-        if (title == null) {
-            return DEFAULT_CLASS_NAME;
-        }
-
-        final String className = title.chars().filter(Character::isJavaIdentifierPart).filter(c -> c < 'z').boxed()
-                .collect(Collector.of(StringBuilder::new, StringBuilder::appendCodePoint, StringBuilder::append,
-                        StringBuilder::toString));
-
-        if (className.isEmpty() || !Character.isJavaIdentifierStart(className.charAt(0))) {
-            return DEFAULT_CLASS_NAME;
-        }
-
-        return className;
-    }
-
-    static String generatePackageName(final Swagger swagger) {
-        final String host = swagger.getHost();
-
-        if (ObjectHelper.isNotEmpty(host)) {
-            final StringBuilder packageName = new StringBuilder();
-
-            final String hostWithoutPort = host.replaceFirst(":.*", "");
-
-            if ("localhost".equalsIgnoreCase(hostWithoutPort)) {
-                return DEFAULT_PACKAGE_NAME;
-            }
-
-            final String[] parts = hostWithoutPort.split("\\.");
-
-            for (int i = parts.length - 1; i >= 0; i--) {
-                packageName.append(parts[i]);
-                if (i != 0) {
-                    packageName.append('.');
-                }
-            }
-
-            return packageName.toString();
-        }
-
-        return DEFAULT_PACKAGE_NAME;
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslXmlGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslXmlGenerator.java
deleted file mode 100644
index f18fa8e4c36..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/RestDslXmlGenerator.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.StringReader;
-import java.io.StringWriter;
-
-import javax.xml.XMLConstants;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
-
-import org.xml.sax.InputSource;
-
-import io.swagger.models.Swagger;
-import org.apache.camel.CamelContext;
-import org.apache.camel.ExtendedCamelContext;
-import org.apache.camel.model.rest.RestsDefinition;
-import org.apache.camel.util.ObjectHelper;
-
-public class RestDslXmlGenerator extends RestDslGenerator<RestDslXmlGenerator> {
-
-    private boolean blueprint;
-
-    RestDslXmlGenerator(final Swagger swagger) {
-        super(swagger);
-    }
-
-    public String generate(final CamelContext context) throws Exception {
-        final RestDefinitionEmitter emitter = new RestDefinitionEmitter(context);
-
-        final PathVisitor<RestsDefinition> restDslStatement = new PathVisitor<>(
-                swagger.getBasePath(), emitter, filter,
-                destinationGenerator());
-
-        swagger.getPaths().forEach(restDslStatement::visit);
-
-        final RestsDefinition rests = emitter.result();
-        ExtendedCamelContext ecc = context.adapt(ExtendedCamelContext.class);
-        final String xml = ecc.getModelToXMLDumper().dumpModelAsXml(context, rests);
-
-        final DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
-        builderFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
-        builderFactory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
-        builderFactory.setNamespaceAware(true);
-
-        final DocumentBuilder builder = builderFactory.newDocumentBuilder();
-
-        final Document document = builder.parse(new InputSource(new StringReader(xml)));
-
-        final Element root = document.getDocumentElement();
-
-        if (blueprint) {
-            document.renameNode(root, "http://camel.apache.org/schema/blueprint", root.getTagName());
-        }
-
-        // remove all customId attributes as we do not want them in the output
-        final NodeList elements = document.getElementsByTagName("*");
-        for (int i = 0; i < elements.getLength(); i++) {
-            final Element element = (Element) elements.item(i);
-            element.removeAttribute("customId");
-        }
-
-        if (restComponent != null) {
-            final Element configuration = document.createElement("restConfiguration");
-            configuration.setAttribute("component", restComponent);
-
-            if (restContextPath != null) {
-                configuration.setAttribute("contextPath", restContextPath);
-            }
-
-            if (ObjectHelper.isNotEmpty(apiContextPath)) {
-                configuration.setAttribute("apiContextPath", apiContextPath);
-            }
-
-            if (clientRequestValidation) {
-                configuration.setAttribute("clientRequestValidation", "true");
-            }
-
-            root.insertBefore(configuration, root.getFirstChild());
-        }
-
-        final TransformerFactory transformerFactory = TransformerFactory.newInstance();
-        transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, Boolean.TRUE);
-        try {
-            transformerFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
-        } catch (IllegalArgumentException e) {
-            // ignore
-        }
-        try {
-            transformerFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_STYLESHEET, "");
-        } catch (IllegalArgumentException e) {
-            // ignore
-        }
-        final Transformer transformer = transformerFactory.newTransformer();
-
-        final StringWriter writer = new StringWriter();
-        transformer.transform(new DOMSource(document), new StreamResult(writer));
-
-        return writer.toString();
-    }
-
-    public RestDslXmlGenerator withBlueprint() {
-        blueprint = true;
-        return this;
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/SpringBootProjectSourceCodeGenerator.java b/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/SpringBootProjectSourceCodeGenerator.java
deleted file mode 100644
index 4ff6dd98b36..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/java/org/apache/camel/generator/swagger/SpringBootProjectSourceCodeGenerator.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.IOException;
-import java.nio.file.Path;
-
-import javax.annotation.processing.Generated;
-import javax.lang.model.element.Modifier;
-
-import com.squareup.javapoet.AnnotationSpec;
-import com.squareup.javapoet.ClassName;
-import com.squareup.javapoet.JavaFile;
-import com.squareup.javapoet.MethodSpec;
-import com.squareup.javapoet.TypeSpec;
-import org.apache.camel.util.ObjectHelper;
-
-import static org.apache.camel.util.StringHelper.notEmpty;
-
-public class SpringBootProjectSourceCodeGenerator {
-
-    private static final String DEFAULT_INDENT = "    ";
-
-    private String indent = DEFAULT_INDENT;
-
-    private String packageName;
-
-    public void generate(Path destination) throws IOException {
-        final JavaFile javaFile = generateSourceCode();
-
-        javaFile.writeTo(destination);
-    }
-
-    public SpringBootProjectSourceCodeGenerator withIndent(final String indent) {
-        this.indent = ObjectHelper.notNull(indent, "indent");
-        return this;
-    }
-
-    public SpringBootProjectSourceCodeGenerator withPackageName(final String packageName) {
-        notEmpty(packageName, "packageName");
-        this.packageName = packageName;
-        return this;
-    }
-
-    JavaFile generateSourceCode() {
-        notEmpty(packageName, "packageName");
-
-        final MethodSpec methodSpec = generateRestMethod();
-
-        final String classNameToUse = "CamelRestController";
-
-        final AnnotationSpec.Builder generatedAnnotation = AnnotationSpec.builder(Generated.class).addMember("value",
-                "$S", getClass().getName());
-        final AnnotationSpec.Builder restAnnotation
-                = AnnotationSpec.builder(ClassName.bestGuess("org.springframework.web.bind.annotation.RestController"));
-
-        TypeSpec.Builder builder = TypeSpec.classBuilder(classNameToUse)
-                .addModifiers(Modifier.PUBLIC, Modifier.FINAL).addMethod(methodSpec)
-                .addAnnotation(generatedAnnotation.build())
-                .addAnnotation(restAnnotation.build())
-                .addJavadoc("Forward requests to the Camel servlet so it can service REST requests.\n");
-        TypeSpec generatedRestController = builder.build();
-
-        return JavaFile.builder(packageName, generatedRestController).indent(indent).build();
-    }
-
-    MethodSpec generateRestMethod() {
-        ClassName req = ClassName.bestGuess("jakarta.servlet.http.HttpServletRequest");
-        ClassName res = ClassName.bestGuess("jakarta.servlet.http.HttpServletResponse");
-
-        final AnnotationSpec.Builder reqAnnotation
-                = AnnotationSpec.builder(ClassName.bestGuess("org.springframework.web.bind.annotation.RequestMapping"))
-                        .addMember("value", "\"/**\"");
-
-        final MethodSpec.Builder forward = MethodSpec.methodBuilder("camelServlet").addModifiers(Modifier.PUBLIC)
-                .addParameter(req, "request")
-                .addParameter(res, "response")
-                .addAnnotation(reqAnnotation.build())
-                .returns(void.class);
-
-        forward.addCode("try {\n");
-        forward.addCode("    String path = request.getRequestURI();\n");
-        forward.addCode("    String camelPrefix = (path != null && path.startsWith(\"/\")) ? \"/camel\" : \"/camel/\";\n");
-        forward.addCode(
-                "    request.getServletContext().getRequestDispatcher(camelPrefix + path).forward(request, response);\n");
-        forward.addCode("} catch (Exception e) {\n");
-        forward.addCode("    response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);\n");
-        forward.addCode("}\n");
-
-        return forward.build();
-    }
-
-    public static SpringBootProjectSourceCodeGenerator generator() {
-        return new SpringBootProjectSourceCodeGenerator();
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/LICENSE.txt b/tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/LICENSE.txt
deleted file mode 100644
index 6b0b1270ff0..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/LICENSE.txt
+++ /dev/null
@@ -1,203 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
diff --git a/tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/NOTICE.txt b/tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/NOTICE.txt
deleted file mode 100644
index 0291ff5ba9e..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/main/resources/META-INF/NOTICE.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-   =========================================================================
-   ==  NOTICE file corresponding to the section 4 d of                    ==
-   ==  the Apache License, Version 2.0,                                   ==
-   ==  in this case for the Apache Camel distribution.                    ==
-   =========================================================================
-
-   This product includes software developed by
-   The Apache Software Foundation (http://www.apache.org/).
-
-   This product includes software developed by
-   Clifton Labs (https://github.com/cliftonlabs/json-simple).
-
-   Please read the different LICENSE files present in the licenses directory of
-   this distribution.
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitterTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitterTest.java
deleted file mode 100644
index 04af1605f0e..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/MethodBodySourceCodeEmitterTest.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import com.squareup.javapoet.MethodSpec;
-import com.squareup.javapoet.MethodSpec.Builder;
-import org.apache.camel.model.rest.RestParamType;
-import org.junit.jupiter.api.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class MethodBodySourceCodeEmitterTest {
-
-    @Test
-    public void shouldGenerateSourceCode() {
-        final Builder method = MethodSpec.methodBuilder("configure");
-
-        final MethodBodySourceCodeEmitter emitter = new MethodBodySourceCodeEmitter(method);
-
-        emitter.emit("rest");
-        emitter.emit("put", "/pet");
-        emitter.emit("consumes", new Object[] { new String[] { "application/json", "application/xml" } });
-        emitter.emit("produces", new Object[] { new String[] { "application/xml", "application/json" } });
-        emitter.emit("param");
-        emitter.emit("name", "body");
-        emitter.emit("type", RestParamType.body);
-        emitter.emit("required", true);
-        emitter.emit("endParam");
-
-        assertThat(emitter.result().toString()).isEqualTo("void configure() {\n"//
-                                                          + "  rest()\n"//
-                                                          + "    .put(\"/pet\")\n"//
-                                                          + "      .consumes(\"application/json,application/xml\")\n"//
-                                                          + "      .produces(\"application/xml,application/json\")\n"//
-                                                          + "      .param()\n"//
-                                                          + "        .name(\"body\")\n"//
-                                                          + "        .type(org.apache.camel.model.rest.RestParamType.body)\n"//
-                                                          + "        .required(true)\n"//
-                                                          + "      .endParam();\n"//
-                                                          + "}\n");
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/PathSpringBootProjectSourceGeneratorTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/PathSpringBootProjectSourceGeneratorTest.java
deleted file mode 100644
index 29aa9fa898b..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/PathSpringBootProjectSourceGeneratorTest.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.File;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-
-import org.junit.jupiter.api.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class PathSpringBootProjectSourceGeneratorTest {
-
-    @Test
-    public void shouldGenerateSourceCodeWithDefaults() throws IOException, URISyntaxException {
-        Path path = new File("target/generated-sources").toPath();
-        SpringBootProjectSourceCodeGenerator.generator().withPackageName("com.foo").generate(path);
-        final String generatedContent = new String(
-                Files.readAllBytes(Paths.get("target/generated-sources/com/foo/CamelRestController.java")),
-                StandardCharsets.UTF_8);
-
-        final URI file = PathSpringBootProjectSourceGeneratorTest.class.getResource("/SpringBootRestController.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(generatedContent).isEqualTo(expectedContent);
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDefinitionEmitterTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDefinitionEmitterTest.java
deleted file mode 100644
index a500f915b1c..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDefinitionEmitterTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.util.List;
-
-import org.apache.camel.impl.DefaultCamelContext;
-import org.apache.camel.model.rest.ParamDefinition;
-import org.apache.camel.model.rest.RestDefinition;
-import org.apache.camel.model.rest.RestParamType;
-import org.apache.camel.model.rest.RestsDefinition;
-import org.apache.camel.model.rest.VerbDefinition;
-import org.junit.jupiter.api.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class RestDefinitionEmitterTest {
-    @Test
-    public void shouldGenerateObjects() {
-        final DefaultCamelContext context = new DefaultCamelContext();
-
-        final RestDefinitionEmitter emitter = new RestDefinitionEmitter(context);
-
-        emitter.emit("rest");
-        emitter.emit("put", "/pet");
-        emitter.emit("consumes", new Object[] { new String[] { "application/json", "application/xml" } });
-        emitter.emit("produces", new Object[] { new String[] { "application/xml", "application/json" } });
-        emitter.emit("param");
-        emitter.emit("name", "body");
-        emitter.emit("type", RestParamType.body);
-        emitter.emit("required", true);
-        emitter.emit("endParam");
-
-        final RestsDefinition result = emitter.result();
-        final List<RestDefinition> rests = result.getRests();
-        assertThat(rests).hasSize(1);
-
-        final RestDefinition rest = rests.get(0);
-        final List<VerbDefinition> verbs = rest.getVerbs();
-        assertThat(verbs).hasSize(1);
-
-        final VerbDefinition definition = verbs.get(0);
-        assertThat(definition.asVerb()).isEqualTo("put");
-        assertThat(definition.getPath()).isEqualTo("/pet");
-        assertThat(definition.getConsumes()).isEqualTo("application/json,application/xml");
-        assertThat(definition.getProduces()).isEqualTo("application/xml,application/json");
-
-        final List<ParamDefinition> params = definition.getParams();
-        assertThat(params).hasSize(1);
-
-        final ParamDefinition param = params.get(0);
-        assertThat(param.getName()).isEqualTo("body");
-        assertThat(param.getType()).isEqualTo(RestParamType.body);
-        assertThat(param.getRequired()).isEqualTo(true);
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslGeneratorTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslGeneratorTest.java
deleted file mode 100644
index 5f4bd5e8026..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslGeneratorTest.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
-import java.nio.file.Paths;
-import java.time.Instant;
-
-import io.swagger.models.Swagger;
-import io.swagger.parser.SwaggerParser;
-import org.apache.camel.CamelContext;
-import org.apache.camel.impl.DefaultCamelContext;
-import org.apache.camel.model.rest.RestsDefinition;
-import org.junit.jupiter.api.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class RestDslGeneratorTest {
-
-    final Instant generated = Instant.parse("2017-10-17T00:00:00.000Z");
-
-    final Swagger swagger = new SwaggerParser().read("petstore.json");
-
-    @Test
-    public void shouldCreateDefinitions() {
-        final CamelContext context = new DefaultCamelContext();
-
-        final RestsDefinition definition = RestDslGenerator.toDefinition(swagger).generate(context);
-
-        assertThat(definition).isNotNull();
-        assertThat(definition.getRests()).hasSize(1);
-        assertThat(definition.getRests().get(0).getPath()).isEqualTo("/v2");
-    }
-
-    @Test
-    public void shouldGenerateSourceCodeWithDefaults() throws IOException, URISyntaxException {
-        final StringBuilder code = new StringBuilder();
-
-        RestDslGenerator.toAppendable(swagger).withGeneratedTime(generated).generate(code);
-
-        final URI file = RestDslGeneratorTest.class.getResource("/SwaggerPetstore.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(code.toString()).isEqualTo(expectedContent);
-    }
-
-    @Test
-    public void shouldGenerateSourceCodeWithRestComponent() throws IOException, URISyntaxException {
-        final StringBuilder code = new StringBuilder();
-
-        RestDslGenerator.toAppendable(swagger).withGeneratedTime(generated).withRestComponent("servlet")
-                .withRestContextPath("/").generate(code);
-
-        final URI file = RestDslGeneratorTest.class.getResource("/SwaggerPetstoreWithRestComponent.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(code.toString()).isEqualTo(expectedContent);
-    }
-
-    @Test
-    public void shouldGenerateSourceCodeWithOptions() throws IOException, URISyntaxException {
-        final StringBuilder code = new StringBuilder();
-
-        RestDslGenerator.toAppendable(swagger).withGeneratedTime(generated).withClassName("MyRestRoute")
-                .withPackageName("com.example").withIndent("\t").withSourceCodeTimestamps()
-                .withDestinationGenerator(o -> "direct:rest-" + o.getOperationId()).generate(code);
-
-        final URI file = RestDslGeneratorTest.class.getResource("/MyRestRoute.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(code.toString()).isEqualTo(expectedContent);
-    }
-
-    @Test
-    public void shouldGenerateSourceCodeWithFilter() throws IOException, URISyntaxException {
-        final StringBuilder code = new StringBuilder();
-
-        RestDslGenerator.toAppendable(swagger).withGeneratedTime(generated).withClassName("MyRestRoute")
-                .withPackageName("com.example").withIndent("\t").withSourceCodeTimestamps()
-                .withOperationFilter("find*,deletePet,updatePet")
-                .withDestinationGenerator(o -> "direct:rest-" + o.getOperationId()).generate(code);
-
-        final URI file = RestDslGeneratorTest.class.getResource("/MyRestRouteFilter.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(code.toString()).isEqualTo(expectedContent);
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslSourceCodeGeneratorTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslSourceCodeGeneratorTest.java
deleted file mode 100644
index 27bad788ba2..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslSourceCodeGeneratorTest.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import io.swagger.models.Info;
-import io.swagger.models.Swagger;
-import org.junit.jupiter.api.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class RestDslSourceCodeGeneratorTest {
-
-    @Test
-    public void shouldCreatePackageNamesFromHostnames() {
-        final Swagger swagger = new Swagger();
-        swagger.setHost("api.example.org");
-
-        assertThat(RestDslSourceCodeGenerator.generatePackageName(swagger)).isEqualTo("org.example.api");
-    }
-
-    @Test
-    public void shouldCreatePackageNamesFromHostnamesWithPorts() {
-        final Swagger swagger = new Swagger();
-        swagger.setHost("api.example.org:8080");
-
-        assertThat(RestDslSourceCodeGenerator.generatePackageName(swagger)).isEqualTo("org.example.api");
-    }
-
-    @Test
-    public void shouldGenerateClassNameFromTitle() {
-        final Swagger swagger = new Swagger();
-        swagger.info(new Info().title("Example API"));
-
-        assertThat(RestDslSourceCodeGenerator.generateClassName(swagger)).isEqualTo("ExampleAPI");
-    }
-
-    @Test
-    public void shouldGenerateClassNameFromTitleWithNonValidJavaIdentifiers() {
-        final Swagger swagger = new Swagger();
-        swagger.info(new Info().title("Example-API 2.0"));
-
-        assertThat(RestDslSourceCodeGenerator.generateClassName(swagger)).isEqualTo("ExampleAPI20");
-    }
-
-    @Test
-    public void shouldUseDefaultClassNameIfInfoOrTitleIsNotPresent() {
-        final Swagger swagger = new Swagger();
-
-        assertThat(RestDslSourceCodeGenerator.generateClassName(swagger))
-                .isEqualTo(RestDslSourceCodeGenerator.DEFAULT_CLASS_NAME);
-
-        assertThat(RestDslSourceCodeGenerator.generateClassName(swagger.info(new Info())))
-                .isEqualTo(RestDslSourceCodeGenerator.DEFAULT_CLASS_NAME);
-    }
-
-    @Test
-    public void shouldUseDefaultClassNameIfTitleContainsOnlyNonValidJavaIdentifiers() {
-        final Swagger swagger = new Swagger();
-        swagger.info(new Info().title("\\%/4"));
-
-        assertThat(RestDslSourceCodeGenerator.generateClassName(swagger))
-                .isEqualTo(RestDslSourceCodeGenerator.DEFAULT_CLASS_NAME);
-    }
-
-    @Test
-    public void shouldUseDefaultPackageNameForLocalhost() {
-        final Swagger swagger = new Swagger();
-        swagger.setHost("localhost");
-
-        assertThat(RestDslSourceCodeGenerator.generatePackageName(swagger))
-                .isEqualTo(RestDslSourceCodeGenerator.DEFAULT_PACKAGE_NAME);
-    }
-
-    @Test
-    public void shouldUseDefaultPackageNameForLocalhostWithPort() {
-        final Swagger swagger = new Swagger();
-        swagger.setHost("localhost:8080");
-
-        assertThat(RestDslSourceCodeGenerator.generatePackageName(swagger))
-                .isEqualTo(RestDslSourceCodeGenerator.DEFAULT_PACKAGE_NAME);
-    }
-
-    @Test
-    public void shouldUseDefaultPackageNameIfNoHostIsSpecified() {
-        final Swagger swagger = new Swagger();
-
-        assertThat(RestDslSourceCodeGenerator.generatePackageName(swagger))
-                .isEqualTo(RestDslSourceCodeGenerator.DEFAULT_PACKAGE_NAME);
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java b/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java
deleted file mode 100644
index 05d39b91704..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger/RestDslXmlGeneratorTest.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.generator.swagger;
-
-import java.io.StringReader;
-import java.net.URI;
-import java.nio.charset.StandardCharsets;
-import java.nio.file.Files;
-import java.nio.file.Paths;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.w3c.dom.Document;
-
-import org.xml.sax.InputSource;
-
-import io.swagger.models.Swagger;
-import io.swagger.parser.SwaggerParser;
-import org.apache.camel.CamelContext;
-import org.apache.camel.impl.DefaultCamelContext;
-import org.junit.jupiter.api.Test;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-public class RestDslXmlGeneratorTest {
-
-    final Swagger swagger = new SwaggerParser().read("petstore.json");
-
-    @Test
-    public void shouldGenerateBlueprintXml() throws Exception {
-        final CamelContext context = new DefaultCamelContext();
-
-        final String xml = RestDslGenerator.toXml(swagger).withBlueprint().generate(context);
-        assertThat(xml).isNotEmpty();
-        assertThat(xml).contains("http://camel.apache.org/schema/blueprint");
-    }
-
-    @Test
-    public void shouldGenerateXml() throws Exception {
-        final CamelContext context = new DefaultCamelContext();
-
-        final String xml = RestDslGenerator.toXml(swagger).generate(context);
-        assertThat(xml).isNotEmpty();
-        assertThat(xml).contains("http://camel.apache.org/schema/spring");
-    }
-
-    @Test
-    public void shouldGenerateXmlWithDefaultnamespace() throws Exception {
-        final CamelContext context = new DefaultCamelContext();
-
-        final String xml = RestDslGenerator.toXml(swagger).generate(context);
-
-        final DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
-        builderFactory.setNamespaceAware(true);
-
-        final DocumentBuilder builder = builderFactory.newDocumentBuilder();
-
-        final Document document = builder.parse(new InputSource(new StringReader(xml)));
-
-        assertThat(document.isDefaultNamespace("http://camel.apache.org/schema/spring")).isTrue();
-    }
-
-    @Test
-    public void shouldGenerateXmlWithDefaults() throws Exception {
-        final CamelContext context = new DefaultCamelContext();
-
-        final String xml = RestDslGenerator.toXml(swagger).generate(context);
-
-        final URI file = RestDslGeneratorTest.class.getResource("/SwaggerPetstoreXml.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(xml).isXmlEqualTo(expectedContent);
-    }
-
-    @Test
-    public void shouldGenerateXmlWithRestComponent() throws Exception {
-        final CamelContext context = new DefaultCamelContext();
-
-        final String xml = RestDslGenerator.toXml(swagger).withRestComponent("servlet").withRestContextPath("/foo")
-                .generate(context);
-
-        final URI file = RestDslGeneratorTest.class.getResource("/SwaggerPetstoreWithRestComponentXml.txt").toURI();
-        final String expectedContent = new String(Files.readAllBytes(Paths.get(file)), StandardCharsets.UTF_8);
-
-        assertThat(xml).isXmlEqualTo(expectedContent);
-    }
-
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRoute.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRoute.txt
deleted file mode 100644
index 6026f359836..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRoute.txt
+++ /dev/null
@@ -1,294 +0,0 @@
-package com.example;
-
-import javax.annotation.processing.Generated;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.model.rest.CollectionFormat;
-import org.apache.camel.model.rest.RestParamType;
-
-/**
- * Generated from Swagger specification by Camel REST DSL generator.
- */
-@Generated(
-		value = "org.apache.camel.generator.swagger.AppendableGenerator",
-		date = "2017-10-17T00:00:00Z"
-)
-public final class MyRestRoute extends RouteBuilder {
-	/**
-	 * Defines Apache Camel routes using REST DSL fluent API.
-	 */
-	public void configure() {
-		rest("/v2")
-			.put("/pet")
-				.id("updatePet")
-				.consumes("application/json,application/xml")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("Pet object that needs to be added to the store")
-				.endParam()
-				.to("direct:rest-updatePet")
-			.post("/pet")
-				.id("addPet")
-				.consumes("application/json,application/xml")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("Pet object that needs to be added to the store")
-				.endParam()
-				.param()
-					.name("verbose")
-					.type(RestParamType.query)
-					.dataType("boolean")
-					.defaultValue("false")
-					.required(false)
-					.description("Verbose data")
-				.endParam()
-				.to("direct:rest-addPet")
-			.get("/pet/findByStatus")
-				.id("findPetsByStatus")
-				.description("Multiple status values can be provided with comma separated strings")
-				.produces("application/xml,application/json")
-				.param()
-					.name("status")
-					.type(RestParamType.query)
-					.dataType("array")
-					.collectionFormat(CollectionFormat.multi)
-					.arrayType("string")
-					.required(true)
-					.description("Status values that need to be considered for filter")
-				.endParam()
-				.to("direct:rest-findPetsByStatus")
-			.get("/pet/findByTags")
-				.id("findPetsByTags")
-				.description("Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.")
-				.produces("application/xml,application/json")
-				.param()
-					.name("tags")
-					.type(RestParamType.query)
-					.dataType("array")
-					.collectionFormat(CollectionFormat.multi)
-					.arrayType("string")
-					.required(true)
-					.description("Tags to filter by")
-				.endParam()
-				.to("direct:rest-findPetsByTags")
-			.get("/pet/{petId}")
-				.id("getPetById")
-				.description("Returns a single pet")
-				.produces("application/xml,application/json")
-				.param()
-					.name("petId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("ID of pet to return")
-				.endParam()
-				.to("direct:rest-getPetById")
-			.post("/pet/{petId}")
-				.id("updatePetWithForm")
-				.consumes("application/x-www-form-urlencoded")
-				.produces("application/xml,application/json")
-				.param()
-					.name("petId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("ID of pet that needs to be updated")
-				.endParam()
-				.param()
-					.name("name")
-					.type(RestParamType.formData)
-					.dataType("string")
-					.required(false)
-					.description("Updated name of the pet")
-				.endParam()
-				.param()
-					.name("status")
-					.type(RestParamType.formData)
-					.dataType("string")
-					.required(false)
-					.description("Updated status of the pet")
-				.endParam()
-				.to("direct:rest-updatePetWithForm")
-			.delete("/pet/{petId}")
-				.id("deletePet")
-				.produces("application/xml,application/json")
-				.param()
-					.name("api_key")
-					.type(RestParamType.header)
-					.dataType("string")
-					.required(false)
-				.endParam()
-				.param()
-					.name("petId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("Pet id to delete")
-				.endParam()
-				.to("direct:rest-deletePet")
-			.post("/pet/{petId}/uploadImage")
-				.id("uploadFile")
-				.consumes("multipart/form-data")
-				.produces("application/json")
-				.param()
-					.name("petId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("ID of pet to update")
-				.endParam()
-				.param()
-					.name("additionalMetadata")
-					.type(RestParamType.formData)
-					.dataType("string")
-					.required(false)
-					.description("Additional data to pass to server")
-				.endParam()
-				.param()
-					.name("file")
-					.type(RestParamType.formData)
-					.dataType("file")
-					.required(false)
-					.description("file to upload")
-				.endParam()
-				.to("direct:rest-uploadFile")
-			.get("/store/inventory")
-				.id("getInventory")
-				.description("Returns a map of status codes to quantities")
-				.produces("application/json")
-				.to("direct:rest-getInventory")
-			.post("/store/order")
-				.id("placeOrder")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("order placed for purchasing the pet")
-				.endParam()
-				.to("direct:rest-placeOrder")
-			.get("/store/order/{orderId}")
-				.id("getOrderById")
-				.description("For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions")
-				.produces("application/xml,application/json")
-				.param()
-					.name("orderId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("ID of pet that needs to be fetched")
-				.endParam()
-				.to("direct:rest-getOrderById")
-			.delete("/store/order/{orderId}")
-				.id("deleteOrder")
-				.description("For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors")
-				.produces("application/xml,application/json")
-				.param()
-					.name("orderId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("ID of the order that needs to be deleted")
-				.endParam()
-				.to("direct:rest-deleteOrder")
-			.post("/user")
-				.id("createUser")
-				.description("This can only be done by the logged in user.")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("Created user object")
-				.endParam()
-				.to("direct:rest-createUser")
-			.post("/user/createWithArray")
-				.id("createUsersWithArrayInput")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("List of user object")
-				.endParam()
-				.to("direct:rest-createUsersWithArrayInput")
-			.post("/user/createWithList")
-				.id("createUsersWithListInput")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("List of user object")
-				.endParam()
-				.to("direct:rest-createUsersWithListInput")
-			.get("/user/login")
-				.id("loginUser")
-				.produces("application/xml,application/json")
-				.param()
-					.name("username")
-					.type(RestParamType.query)
-					.dataType("string")
-					.required(true)
-					.description("The user name for login")
-				.endParam()
-				.param()
-					.name("password")
-					.type(RestParamType.query)
-					.dataType("string")
-					.required(true)
-					.description("The password for login in clear text")
-				.endParam()
-				.to("direct:rest-loginUser")
-			.get("/user/logout")
-				.id("logoutUser")
-				.produces("application/xml,application/json")
-				.to("direct:rest-logoutUser")
-			.get("/user/{username}")
-				.id("getUserByName")
-				.produces("application/xml,application/json")
-				.param()
-					.name("username")
-					.type(RestParamType.path)
-					.dataType("string")
-					.required(true)
-					.description("The name that needs to be fetched. Use user1 for testing. ")
-				.endParam()
-				.to("direct:rest-getUserByName")
-			.put("/user/{username}")
-				.id("updateUser")
-				.description("This can only be done by the logged in user.")
-				.produces("application/xml,application/json")
-				.param()
-					.name("username")
-					.type(RestParamType.path)
-					.dataType("string")
-					.required(true)
-					.description("name that need to be updated")
-				.endParam()
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("Updated user object")
-				.endParam()
-				.to("direct:rest-updateUser")
-			.delete("/user/{username}")
-				.id("deleteUser")
-				.description("This can only be done by the logged in user.")
-				.produces("application/xml,application/json")
-				.param()
-					.name("username")
-					.type(RestParamType.path)
-					.dataType("string")
-					.required(true)
-					.description("The name that needs to be deleted")
-				.endParam()
-				.to("direct:rest-deleteUser");
-	}
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRouteFilter.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRouteFilter.txt
deleted file mode 100644
index 1a6dffe80b7..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/MyRestRouteFilter.txt
+++ /dev/null
@@ -1,78 +0,0 @@
-package com.example;
-
-import javax.annotation.processing.Generated;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.model.rest.CollectionFormat;
-import org.apache.camel.model.rest.RestParamType;
-
-/**
- * Generated from Swagger specification by Camel REST DSL generator.
- */
-@Generated(
-		value = "org.apache.camel.generator.swagger.AppendableGenerator",
-		date = "2017-10-17T00:00:00Z"
-)
-public final class MyRestRoute extends RouteBuilder {
-	/**
-	 * Defines Apache Camel routes using REST DSL fluent API.
-	 */
-	public void configure() {
-		rest("/v2")
-			.put("/pet")
-				.id("updatePet")
-				.consumes("application/json,application/xml")
-				.produces("application/xml,application/json")
-				.param()
-					.name("body")
-					.type(RestParamType.body)
-					.required(true)
-					.description("Pet object that needs to be added to the store")
-				.endParam()
-				.to("direct:rest-updatePet")
-			.get("/pet/findByStatus")
-				.id("findPetsByStatus")
-				.description("Multiple status values can be provided with comma separated strings")
-				.produces("application/xml,application/json")
-				.param()
-					.name("status")
-					.type(RestParamType.query)
-					.dataType("array")
-					.collectionFormat(CollectionFormat.multi)
-					.arrayType("string")
-					.required(true)
-					.description("Status values that need to be considered for filter")
-				.endParam()
-				.to("direct:rest-findPetsByStatus")
-			.get("/pet/findByTags")
-				.id("findPetsByTags")
-				.description("Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.")
-				.produces("application/xml,application/json")
-				.param()
-					.name("tags")
-					.type(RestParamType.query)
-					.dataType("array")
-					.collectionFormat(CollectionFormat.multi)
-					.arrayType("string")
-					.required(true)
-					.description("Tags to filter by")
-				.endParam()
-				.to("direct:rest-findPetsByTags")
-			.delete("/pet/{petId}")
-				.id("deletePet")
-				.produces("application/xml,application/json")
-				.param()
-					.name("api_key")
-					.type(RestParamType.header)
-					.dataType("string")
-					.required(false)
-				.endParam()
-				.param()
-					.name("petId")
-					.type(RestParamType.path)
-					.dataType("integer")
-					.required(true)
-					.description("Pet id to delete")
-				.endParam()
-				.to("direct:rest-deletePet");
-	}
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/SpringBootRestController.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/SpringBootRestController.txt
deleted file mode 100644
index 53d05b86c48..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/SpringBootRestController.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.foo;
-
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import javax.annotation.processing.Generated;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * Forward requests to the Camel servlet so it can service REST requests.
- */
-@Generated("org.apache.camel.generator.swagger.SpringBootProjectSourceCodeGenerator")
-@RestController
-public final class CamelRestController {
-    @RequestMapping("/**")
-    public void camelServlet(HttpServletRequest request, HttpServletResponse response) {
-        try {
-            String path = request.getRequestURI();
-            String camelPrefix = (path != null && path.startsWith("/")) ? "/camel" : "/camel/";
-            request.getServletContext().getRequestDispatcher(camelPrefix + path).forward(request, response);
-        } catch (Exception e) {
-            response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
-        }
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstore.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstore.txt
deleted file mode 100644
index 55724b49993..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstore.txt
+++ /dev/null
@@ -1,291 +0,0 @@
-package io.swagger.petstore;
-
-import javax.annotation.processing.Generated;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.model.rest.CollectionFormat;
-import org.apache.camel.model.rest.RestParamType;
-
-/**
- * Generated from Swagger specification by Camel REST DSL generator.
- */
-@Generated("org.apache.camel.generator.swagger.AppendableGenerator")
-public final class SwaggerPetstore extends RouteBuilder {
-    /**
-     * Defines Apache Camel routes using REST DSL fluent API.
-     */
-    public void configure() {
-        rest("/v2")
-            .put("/pet")
-                .id("updatePet")
-                .consumes("application/json,application/xml")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Pet object that needs to be added to the store")
-                .endParam()
-                .to("direct:updatePet")
-            .post("/pet")
-                .id("addPet")
-                .consumes("application/json,application/xml")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Pet object that needs to be added to the store")
-                .endParam()
-                .param()
-                    .name("verbose")
-                    .type(RestParamType.query)
-                    .dataType("boolean")
-                    .defaultValue("false")
-                    .required(false)
-                    .description("Verbose data")
-                .endParam()
-                .to("direct:addPet")
-            .get("/pet/findByStatus")
-                .id("findPetsByStatus")
-                .description("Multiple status values can be provided with comma separated strings")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("status")
-                    .type(RestParamType.query)
-                    .dataType("array")
-                    .collectionFormat(CollectionFormat.multi)
-                    .arrayType("string")
-                    .required(true)
-                    .description("Status values that need to be considered for filter")
-                .endParam()
-                .to("direct:findPetsByStatus")
-            .get("/pet/findByTags")
-                .id("findPetsByTags")
-                .description("Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("tags")
-                    .type(RestParamType.query)
-                    .dataType("array")
-                    .collectionFormat(CollectionFormat.multi)
-                    .arrayType("string")
-                    .required(true)
-                    .description("Tags to filter by")
-                .endParam()
-                .to("direct:findPetsByTags")
-            .get("/pet/{petId}")
-                .id("getPetById")
-                .description("Returns a single pet")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet to return")
-                .endParam()
-                .to("direct:getPetById")
-            .post("/pet/{petId}")
-                .id("updatePetWithForm")
-                .consumes("application/x-www-form-urlencoded")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet that needs to be updated")
-                .endParam()
-                .param()
-                    .name("name")
-                    .type(RestParamType.formData)
-                    .dataType("string")
-                    .required(false)
-                    .description("Updated name of the pet")
-                .endParam()
-                .param()
-                    .name("status")
-                    .type(RestParamType.formData)
-                    .dataType("string")
-                    .required(false)
-                    .description("Updated status of the pet")
-                .endParam()
-                .to("direct:updatePetWithForm")
-            .delete("/pet/{petId}")
-                .id("deletePet")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("api_key")
-                    .type(RestParamType.header)
-                    .dataType("string")
-                    .required(false)
-                .endParam()
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("Pet id to delete")
-                .endParam()
-                .to("direct:deletePet")
-            .post("/pet/{petId}/uploadImage")
-                .id("uploadFile")
-                .consumes("multipart/form-data")
-                .produces("application/json")
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet to update")
-                .endParam()
-                .param()
-                    .name("additionalMetadata")
-                    .type(RestParamType.formData)
-                    .dataType("string")
-                    .required(false)
-                    .description("Additional data to pass to server")
-                .endParam()
-                .param()
-                    .name("file")
-                    .type(RestParamType.formData)
-                    .dataType("file")
-                    .required(false)
-                    .description("file to upload")
-                .endParam()
-                .to("direct:uploadFile")
-            .get("/store/inventory")
-                .id("getInventory")
-                .description("Returns a map of status codes to quantities")
-                .produces("application/json")
-                .to("direct:getInventory")
-            .post("/store/order")
-                .id("placeOrder")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("order placed for purchasing the pet")
-                .endParam()
-                .to("direct:placeOrder")
-            .get("/store/order/{orderId}")
-                .id("getOrderById")
-                .description("For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("orderId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet that needs to be fetched")
-                .endParam()
-                .to("direct:getOrderById")
-            .delete("/store/order/{orderId}")
-                .id("deleteOrder")
-                .description("For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("orderId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of the order that needs to be deleted")
-                .endParam()
-                .to("direct:deleteOrder")
-            .post("/user")
-                .id("createUser")
-                .description("This can only be done by the logged in user.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Created user object")
-                .endParam()
-                .to("direct:createUser")
-            .post("/user/createWithArray")
-                .id("createUsersWithArrayInput")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("List of user object")
-                .endParam()
-                .to("direct:createUsersWithArrayInput")
-            .post("/user/createWithList")
-                .id("createUsersWithListInput")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("List of user object")
-                .endParam()
-                .to("direct:createUsersWithListInput")
-            .get("/user/login")
-                .id("loginUser")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.query)
-                    .dataType("string")
-                    .required(true)
-                    .description("The user name for login")
-                .endParam()
-                .param()
-                    .name("password")
-                    .type(RestParamType.query)
-                    .dataType("string")
-                    .required(true)
-                    .description("The password for login in clear text")
-                .endParam()
-                .to("direct:loginUser")
-            .get("/user/logout")
-                .id("logoutUser")
-                .produces("application/xml,application/json")
-                .to("direct:logoutUser")
-            .get("/user/{username}")
-                .id("getUserByName")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.path)
-                    .dataType("string")
-                    .required(true)
-                    .description("The name that needs to be fetched. Use user1 for testing. ")
-                .endParam()
-                .to("direct:getUserByName")
-            .put("/user/{username}")
-                .id("updateUser")
-                .description("This can only be done by the logged in user.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.path)
-                    .dataType("string")
-                    .required(true)
-                    .description("name that need to be updated")
-                .endParam()
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Updated user object")
-                .endParam()
-                .to("direct:updateUser")
-            .delete("/user/{username}")
-                .id("deleteUser")
-                .description("This can only be done by the logged in user.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.path)
-                    .dataType("string")
-                    .required(true)
-                    .description("The name that needs to be deleted")
-                .endParam()
-                .to("direct:deleteUser");
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponent.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponent.txt
deleted file mode 100644
index c46ad047436..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponent.txt
+++ /dev/null
@@ -1,294 +0,0 @@
-package io.swagger.petstore;
-
-import javax.annotation.processing.Generated;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.model.rest.CollectionFormat;
-import org.apache.camel.model.rest.RestParamType;
-
-/**
- * Generated from Swagger specification by Camel REST DSL generator.
- */
-@Generated("org.apache.camel.generator.swagger.AppendableGenerator")
-public final class SwaggerPetstore extends RouteBuilder {
-    /**
-     * Defines Apache Camel routes using REST DSL fluent API.
-     */
-    public void configure() {
-
-        restConfiguration().component("servlet").contextPath("/");
-
-        rest("/v2")
-            .put("/pet")
-                .id("updatePet")
-                .consumes("application/json,application/xml")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Pet object that needs to be added to the store")
-                .endParam()
-                .to("direct:updatePet")
-            .post("/pet")
-                .id("addPet")
-                .consumes("application/json,application/xml")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Pet object that needs to be added to the store")
-                .endParam()
-                .param()
-                    .name("verbose")
-                    .type(RestParamType.query)
-                    .dataType("boolean")
-                    .defaultValue("false")
-                    .required(false)
-                    .description("Verbose data")
-                .endParam()
-                .to("direct:addPet")
-            .get("/pet/findByStatus")
-                .id("findPetsByStatus")
-                .description("Multiple status values can be provided with comma separated strings")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("status")
-                    .type(RestParamType.query)
-                    .dataType("array")
-                    .collectionFormat(CollectionFormat.multi)
-                    .arrayType("string")
-                    .required(true)
-                    .description("Status values that need to be considered for filter")
-                .endParam()
-                .to("direct:findPetsByStatus")
-            .get("/pet/findByTags")
-                .id("findPetsByTags")
-                .description("Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("tags")
-                    .type(RestParamType.query)
-                    .dataType("array")
-                    .collectionFormat(CollectionFormat.multi)
-                    .arrayType("string")
-                    .required(true)
-                    .description("Tags to filter by")
-                .endParam()
-                .to("direct:findPetsByTags")
-            .get("/pet/{petId}")
-                .id("getPetById")
-                .description("Returns a single pet")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet to return")
-                .endParam()
-                .to("direct:getPetById")
-            .post("/pet/{petId}")
-                .id("updatePetWithForm")
-                .consumes("application/x-www-form-urlencoded")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet that needs to be updated")
-                .endParam()
-                .param()
-                    .name("name")
-                    .type(RestParamType.formData)
-                    .dataType("string")
-                    .required(false)
-                    .description("Updated name of the pet")
-                .endParam()
-                .param()
-                    .name("status")
-                    .type(RestParamType.formData)
-                    .dataType("string")
-                    .required(false)
-                    .description("Updated status of the pet")
-                .endParam()
-                .to("direct:updatePetWithForm")
-            .delete("/pet/{petId}")
-                .id("deletePet")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("api_key")
-                    .type(RestParamType.header)
-                    .dataType("string")
-                    .required(false)
-                .endParam()
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("Pet id to delete")
-                .endParam()
-                .to("direct:deletePet")
-            .post("/pet/{petId}/uploadImage")
-                .id("uploadFile")
-                .consumes("multipart/form-data")
-                .produces("application/json")
-                .param()
-                    .name("petId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet to update")
-                .endParam()
-                .param()
-                    .name("additionalMetadata")
-                    .type(RestParamType.formData)
-                    .dataType("string")
-                    .required(false)
-                    .description("Additional data to pass to server")
-                .endParam()
-                .param()
-                    .name("file")
-                    .type(RestParamType.formData)
-                    .dataType("file")
-                    .required(false)
-                    .description("file to upload")
-                .endParam()
-                .to("direct:uploadFile")
-            .get("/store/inventory")
-                .id("getInventory")
-                .description("Returns a map of status codes to quantities")
-                .produces("application/json")
-                .to("direct:getInventory")
-            .post("/store/order")
-                .id("placeOrder")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("order placed for purchasing the pet")
-                .endParam()
-                .to("direct:placeOrder")
-            .get("/store/order/{orderId}")
-                .id("getOrderById")
-                .description("For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("orderId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of pet that needs to be fetched")
-                .endParam()
-                .to("direct:getOrderById")
-            .delete("/store/order/{orderId}")
-                .id("deleteOrder")
-                .description("For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("orderId")
-                    .type(RestParamType.path)
-                    .dataType("integer")
-                    .required(true)
-                    .description("ID of the order that needs to be deleted")
-                .endParam()
-                .to("direct:deleteOrder")
-            .post("/user")
-                .id("createUser")
-                .description("This can only be done by the logged in user.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Created user object")
-                .endParam()
-                .to("direct:createUser")
-            .post("/user/createWithArray")
-                .id("createUsersWithArrayInput")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("List of user object")
-                .endParam()
-                .to("direct:createUsersWithArrayInput")
-            .post("/user/createWithList")
-                .id("createUsersWithListInput")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("List of user object")
-                .endParam()
-                .to("direct:createUsersWithListInput")
-            .get("/user/login")
-                .id("loginUser")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.query)
-                    .dataType("string")
-                    .required(true)
-                    .description("The user name for login")
-                .endParam()
-                .param()
-                    .name("password")
-                    .type(RestParamType.query)
-                    .dataType("string")
-                    .required(true)
-                    .description("The password for login in clear text")
-                .endParam()
-                .to("direct:loginUser")
-            .get("/user/logout")
-                .id("logoutUser")
-                .produces("application/xml,application/json")
-                .to("direct:logoutUser")
-            .get("/user/{username}")
-                .id("getUserByName")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.path)
-                    .dataType("string")
-                    .required(true)
-                    .description("The name that needs to be fetched. Use user1 for testing. ")
-                .endParam()
-                .to("direct:getUserByName")
-            .put("/user/{username}")
-                .id("updateUser")
-                .description("This can only be done by the logged in user.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.path)
-                    .dataType("string")
-                    .required(true)
-                    .description("name that need to be updated")
-                .endParam()
-                .param()
-                    .name("body")
-                    .type(RestParamType.body)
-                    .required(true)
-                    .description("Updated user object")
-                .endParam()
-                .to("direct:updateUser")
-            .delete("/user/{username}")
-                .id("deleteUser")
-                .description("This can only be done by the logged in user.")
-                .produces("application/xml,application/json")
-                .param()
-                    .name("username")
-                    .type(RestParamType.path)
-                    .dataType("string")
-                    .required(true)
-                    .description("The name that needs to be deleted")
-                .endParam()
-                .to("direct:deleteUser");
-    }
-}
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponentXml.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponentXml.txt
deleted file mode 100644
index 61c1888eedb..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreWithRestComponentXml.txt
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<rests xmlns="http://camel.apache.org/schema/spring">
-    <restConfiguration component="servlet" contextPath="/foo"/>
-    <rest path="/v2">
-        <put consumes="application/json,application/xml" id="updatePet" produces="application/xml,application/json" path="/pet">
-            <param description="Pet object that needs to be added to the store" name="body" required="true" type="body"/>
-            <to uri="direct:updatePet"/>
-        </put>
-        <post consumes="application/json,application/xml" id="addPet" produces="application/xml,application/json" path="/pet">
-            <param description="Pet object that needs to be added to the store" name="body" required="true" type="body"/>
-            <param dataType="boolean" defaultValue="false" description="Verbose data" name="verbose" required="false" type="query"/>
-            <to uri="direct:addPet"/>
-        </post>
-        <get id="findPetsByStatus" produces="application/xml,application/json" path="/pet/findByStatus">
-            <description>Multiple status values can be provided with comma separated strings</description>
-            <param arrayType="string" collectionFormat="multi" dataType="array" description="Status values that need to be considered for filter" name="status" required="true" type="query"/>
-            <to uri="direct:findPetsByStatus"/>
-        </get>
-        <get id="findPetsByTags" produces="application/xml,application/json" path="/pet/findByTags">
-            <description>Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.</description>
-            <param arrayType="string" collectionFormat="multi" dataType="array" description="Tags to filter by" name="tags" required="true" type="query"/>
-            <to uri="direct:findPetsByTags"/>
-        </get>
-        <get id="getPetById" produces="application/xml,application/json" path="/pet/{petId}">
-            <description>Returns a single pet</description>
-            <param dataType="integer" description="ID of pet to return" name="petId" required="true" type="path"/>
-            <to uri="direct:getPetById"/>
-        </get>
-        <post consumes="application/x-www-form-urlencoded" id="updatePetWithForm" produces="application/xml,application/json" path="/pet/{petId}">
-            <param dataType="integer" description="ID of pet that needs to be updated" name="petId" required="true" type="path"/>
-            <param dataType="string" description="Updated name of the pet" name="name" required="false" type="formData"/>
-            <param dataType="string" description="Updated status of the pet" name="status" required="false" type="formData"/>
-            <to uri="direct:updatePetWithForm"/>
-        </post>
-        <delete id="deletePet" produces="application/xml,application/json" path="/pet/{petId}">
-            <param dataType="string" name="api_key" required="false" type="header"/>
-            <param dataType="integer" description="Pet id to delete" name="petId" required="true" type="path"/>
-            <to uri="direct:deletePet"/>
-        </delete>
-        <post consumes="multipart/form-data" id="uploadFile" produces="application/json" path="/pet/{petId}/uploadImage">
-            <param dataType="integer" description="ID of pet to update" name="petId" required="true" type="path"/>
-            <param dataType="string" description="Additional data to pass to server" name="additionalMetadata" required="false" type="formData"/>
-            <param dataType="file" description="file to upload" name="file" required="false" type="formData"/>
-            <to uri="direct:uploadFile"/>
-        </post>
-        <get id="getInventory" produces="application/json" path="/store/inventory">
-            <description>Returns a map of status codes to quantities</description>
-            <to uri="direct:getInventory"/>
-        </get>
-        <post id="placeOrder" produces="application/xml,application/json" path="/store/order">
-            <param description="order placed for purchasing the pet" name="body" required="true" type="body"/>
-            <to uri="direct:placeOrder"/>
-        </post>
-        <get id="getOrderById" produces="application/xml,application/json" path="/store/order/{orderId}">
-            <description>For valid response try integer IDs with value &gt;= 1 and &lt;= 10. Other values will generated exceptions</description>
-            <param dataType="integer" description="ID of pet that needs to be fetched" name="orderId" required="true" type="path"/>
-            <to uri="direct:getOrderById"/>
-        </get>
-        <delete id="deleteOrder" produces="application/xml,application/json" path="/store/order/{orderId}">
-            <description>For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors</description>
-            <param dataType="integer" description="ID of the order that needs to be deleted" name="orderId" required="true" type="path"/>
-            <to uri="direct:deleteOrder"/>
-        </delete>
-        <post id="createUser" produces="application/xml,application/json" path="/user">
-            <description>This can only be done by the logged in user.</description>
-            <param description="Created user object" name="body" required="true" type="body"/>
-            <to uri="direct:createUser"/>
-        </post>
-        <post id="createUsersWithArrayInput" produces="application/xml,application/json" path="/user/createWithArray">
-            <param description="List of user object" name="body" required="true" type="body"/>
-            <to uri="direct:createUsersWithArrayInput"/>
-        </post>
-        <post id="createUsersWithListInput" produces="application/xml,application/json" path="/user/createWithList">
-            <param description="List of user object" name="body" required="true" type="body"/>
-            <to uri="direct:createUsersWithListInput"/>
-        </post>
-        <get id="loginUser" produces="application/xml,application/json" path="/user/login">
-            <param dataType="string" description="The user name for login" name="username" required="true" type="query"/>
-            <param dataType="string" description="The password for login in clear text" name="password" required="true" type="query"/>
-            <to uri="direct:loginUser"/>
-        </get>
-        <get id="logoutUser" produces="application/xml,application/json" path="/user/logout">
-            <to uri="direct:logoutUser"/>
-        </get>
-        <get id="getUserByName" produces="application/xml,application/json" path="/user/{username}">
-            <param dataType="string" description="The name that needs to be fetched. Use user1 for testing. " name="username" required="true" type="path"/>
-            <to uri="direct:getUserByName"/>
-        </get>
-        <put id="updateUser" produces="application/xml,application/json" path="/user/{username}">
-            <description>This can only be done by the logged in user.</description>
-            <param dataType="string" description="name that need to be updated" name="username" required="true" type="path"/>
-            <param description="Updated user object" name="body" required="true" type="body"/>
-            <to uri="direct:updateUser"/>
-        </put>
-        <delete id="deleteUser" produces="application/xml,application/json" path="/user/{username}">
-            <description>This can only be done by the logged in user.</description>
-            <param dataType="string" description="The name that needs to be deleted" name="username" required="true" type="path"/>
-            <to uri="direct:deleteUser"/>
-        </delete>
-    </rest>
-</rests>
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreXml.txt b/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreXml.txt
deleted file mode 100644
index 3c51257cb3e..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/SwaggerPetstoreXml.txt
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<rests xmlns="http://camel.apache.org/schema/spring">
-    <rest path="/v2">
-        <put consumes="application/json,application/xml" id="updatePet" produces="application/xml,application/json" path="/pet">
-            <param description="Pet object that needs to be added to the store" name="body" required="true" type="body"/>
-            <to uri="direct:updatePet"/>
-        </put>
-        <post consumes="application/json,application/xml" id="addPet" produces="application/xml,application/json" path="/pet">
-            <param description="Pet object that needs to be added to the store" name="body" required="true" type="body"/>
-            <param dataType="boolean" defaultValue="false" description="Verbose data" name="verbose" required="false" type="query"/>
-            <to uri="direct:addPet"/>
-        </post>
-        <get id="findPetsByStatus" produces="application/xml,application/json" path="/pet/findByStatus">
-            <description>Multiple status values can be provided with comma separated strings</description>
-            <param arrayType="string" collectionFormat="multi" dataType="array" description="Status values that need to be considered for filter" name="status" required="true" type="query"/>
-            <to uri="direct:findPetsByStatus"/>
-        </get>
-        <get id="findPetsByTags" produces="application/xml,application/json" path="/pet/findByTags">
-            <description>Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.</description>
-            <param arrayType="string" collectionFormat="multi" dataType="array" description="Tags to filter by" name="tags" required="true" type="query"/>
-            <to uri="direct:findPetsByTags"/>
-        </get>
-        <get id="getPetById" produces="application/xml,application/json" path="/pet/{petId}">
-            <description>Returns a single pet</description>
-            <param dataType="integer" description="ID of pet to return" name="petId" required="true" type="path"/>
-            <to uri="direct:getPetById"/>
-        </get>
-        <post consumes="application/x-www-form-urlencoded" id="updatePetWithForm" produces="application/xml,application/json" path="/pet/{petId}">
-            <param dataType="integer" description="ID of pet that needs to be updated" name="petId" required="true" type="path"/>
-            <param dataType="string" description="Updated name of the pet" name="name" required="false" type="formData"/>
-            <param dataType="string" description="Updated status of the pet" name="status" required="false" type="formData"/>
-            <to uri="direct:updatePetWithForm"/>
-        </post>
-        <delete id="deletePet" produces="application/xml,application/json" path="/pet/{petId}">
-            <param dataType="string" name="api_key" required="false" type="header"/>
-            <param dataType="integer" description="Pet id to delete" name="petId" required="true" type="path"/>
-            <to uri="direct:deletePet"/>
-        </delete>
-        <post consumes="multipart/form-data" id="uploadFile" produces="application/json" path="/pet/{petId}/uploadImage">
-            <param dataType="integer" description="ID of pet to update" name="petId" required="true" type="path"/>
-            <param dataType="string" description="Additional data to pass to server" name="additionalMetadata" required="false" type="formData"/>
-            <param dataType="file" description="file to upload" name="file" required="false" type="formData"/>
-            <to uri="direct:uploadFile"/>
-        </post>
-        <get id="getInventory" produces="application/json" path="/store/inventory">
-            <description>Returns a map of status codes to quantities</description>
-            <to uri="direct:getInventory"/>
-        </get>
-        <post id="placeOrder" produces="application/xml,application/json" path="/store/order">
-            <param description="order placed for purchasing the pet" name="body" required="true" type="body"/>
-            <to uri="direct:placeOrder"/>
-        </post>
-        <get id="getOrderById" produces="application/xml,application/json" path="/store/order/{orderId}">
-            <description>For valid response try integer IDs with value &gt;= 1 and &lt;= 10. Other values will generated exceptions</description>
-            <param dataType="integer" description="ID of pet that needs to be fetched" name="orderId" required="true" type="path"/>
-            <to uri="direct:getOrderById"/>
-        </get>
-        <delete id="deleteOrder" produces="application/xml,application/json" path="/store/order/{orderId}">
-            <description>For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors</description>
-            <param dataType="integer" description="ID of the order that needs to be deleted" name="orderId" required="true" type="path"/>
-            <to uri="direct:deleteOrder"/>
-        </delete>
-        <post id="createUser" produces="application/xml,application/json" path="/user">
-            <description>This can only be done by the logged in user.</description>
-            <param description="Created user object" name="body" required="true" type="body"/>
-            <to uri="direct:createUser"/>
-        </post>
-        <post id="createUsersWithArrayInput" produces="application/xml,application/json" path="/user/createWithArray">
-            <param description="List of user object" name="body" required="true" type="body"/>
-            <to uri="direct:createUsersWithArrayInput"/>
-        </post>
-        <post id="createUsersWithListInput" produces="application/xml,application/json" path="/user/createWithList">
-            <param description="List of user object" name="body" required="true" type="body"/>
-            <to uri="direct:createUsersWithListInput"/>
-        </post>
-        <get id="loginUser" produces="application/xml,application/json" path="/user/login">
-            <param dataType="string" description="The user name for login" name="username" required="true" type="query"/>
-            <param dataType="string" description="The password for login in clear text" name="password" required="true" type="query"/>
-            <to uri="direct:loginUser"/>
-        </get>
-        <get id="logoutUser" produces="application/xml,application/json" path="/user/logout">
-            <to uri="direct:logoutUser"/>
-        </get>
-        <get id="getUserByName" produces="application/xml,application/json" path="/user/{username}">
-            <param dataType="string" description="The name that needs to be fetched. Use user1 for testing. " name="username" required="true" type="path"/>
-            <to uri="direct:getUserByName"/>
-        </get>
-        <put id="updateUser" produces="application/xml,application/json" path="/user/{username}">
-            <description>This can only be done by the logged in user.</description>
-            <param dataType="string" description="name that need to be updated" name="username" required="true" type="path"/>
-            <param description="Updated user object" name="body" required="true" type="body"/>
-            <to uri="direct:updateUser"/>
-        </put>
-        <delete id="deleteUser" produces="application/xml,application/json" path="/user/{username}">
-            <description>This can only be done by the logged in user.</description>
-            <param dataType="string" description="The name that needs to be deleted" name="username" required="true" type="path"/>
-            <to uri="direct:deleteUser"/>
-        </delete>
-    </rest>
-</rests>
diff --git a/tooling/swagger-rest-dsl-generator/src/test/resources/log4j2.properties b/tooling/swagger-rest-dsl-generator/src/test/resources/log4j2.properties
deleted file mode 100644
index 1ba77d3686f..00000000000
--- a/tooling/swagger-rest-dsl-generator/src/test/resources/log4j2.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements.  See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License.  You may obtain a copy of the License at
-##
-##      http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-appender.file.type = File
-appender.file.name = file
-appender.file.fileName = target/camel-swagger-rest-dsl-generator.log
-appender.file.layout.type = PatternLayout
-appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-appender.out.type = Console
-appender.out.name = out
-appender.out.layout.type = PatternLayout
-appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-rootLogger.level = INFO
-rootLogger.appenderRef.file.ref = file