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 2021/06/06 07:25:57 UTC
[camel] branch main updated: Document allow customizing SpringBoot
@RequestMapping paths (#5627)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 0a7e276 Document allow customizing SpringBoot @RequestMapping paths (#5627)
0a7e276 is described below
commit 0a7e27640fd4c85aa8b8308a1cd86ce54c416256
Author: Marcelo Daniel Silva Sales <ma...@gmail.com>
AuthorDate: Sun Jun 6 09:25:35 2021 +0200
Document allow customizing SpringBoot @RequestMapping paths (#5627)
Update documentation about how to produces custom RequestMapping on controller.
---
.../src/main/docs/camel-restdsl-openapi-plugin.adoc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc b/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
index 090bb07..01ea095 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/docs/camel-restdsl-openapi-plugin.adoc
@@ -70,6 +70,7 @@ in the `<configuration>` tag.
| `restConfiguration` | `true` | Whether to include generation of the rest configuration with detected rest component to be used.
| `apiContextPath` | | Define openapi endpoint path if `restConfiguration` is set to `true`.
| `basePath` | | Overrides the api base path as defined in the OpenAPI specification. |
+| `requestMappingValues` | `/**` | Allows generation of custom RequestMapping mapping values. Multiple mapping values can be passed as <requestMappingValues><param>/my-api-path/**</param><param>/my-other-path/**</param></requestMappingValues>
|========================================
=== Spring Boot Project with Servlet component
@@ -146,6 +147,7 @@ in the `<configuration>` tag.
| `restConfiguration` | `true` | Whether to include generation of the rest configuration with detected rest component to be used.
| `apiContextPath` | | Define openapi endpoint path if `restConfiguration` is set to `true`.
| `basePath` | | Overrides the api base path as defined in the OpenAPI specification. |
+| `requestMappingValues` | `/**` | Allows generation of custom RequestMapping mapping values. Multiple mapping values can be passed as <requestMappingValues><param>/my-api-path/**</param><param>/my-other-path/**</param></requestMappingValues>
|========================================
== camel-restdsl-openapi:generate-xml-with-dto