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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new faa6a30 Regen
faa6a30 is described below
commit faa6a303a3d21e74b91fcab36577dd79b9282195
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Oct 22 16:52:29 2021 +0200
Regen
---
.../springboot/catalog/components/rest-api.json | 2 +-
.../modules/spring-boot/examples/json/core.json | 30 ++++++++++++----------
2 files changed, 18 insertions(+), 14 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rest-api.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rest-api.json
index 825bc6e..437259a 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rest-api.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rest-api.json
@@ -14,7 +14,7 @@
"version": "3.13.0-SNAPSHOT",
"scheme": "rest-api",
"extendsScheme": "",
- "syntax": "rest-api:path\/contextIdPattern",
+ "syntax": "rest-api:path",
"async": false,
"api": false,
"consumerOnly": true,
diff --git a/docs/components/modules/spring-boot/examples/json/core.json
b/docs/components/modules/spring-boot/examples/json/core.json
index 3d7c7d0..3bafdd5 100644
--- a/docs/components/modules/spring-boot/examples/json/core.json
+++ b/docs/components/modules/spring-boot/examples/json/core.json
@@ -951,19 +951,6 @@
"sourceType":
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties"
},
{
- "name": "camel.rest.api-context-id-pattern",
- "type": "java.lang.String",
- "description": "Sets an CamelContext id pattern to only allow Rest APIs
from rest services within CamelContext's which name matches the pattern. The
pattern #name# refers to the CamelContext name, to match on the current
CamelContext only. For any other value, the pattern uses the rules from
PatternHelper#matchPattern(String,String)",
- "sourceType":
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties"
- },
- {
- "name": "camel.rest.api-context-listing",
- "type": "java.lang.Boolean",
- "description": "Sets whether listing of all available CamelContext's
with REST services in the JVM is enabled. If enabled it allows to discover
these contexts, if false then only the current CamelContext is in use.",
- "sourceType":
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties",
- "defaultValue": false
- },
- {
"name": "camel.rest.api-context-path",
"type": "java.lang.String",
"description": "Sets a leading API context-path the REST API services
will be using. This can be used when using components such as camel-servlet
where the deployed web application is deployed using a context-path.",
@@ -1117,6 +1104,23 @@
"type": "java.lang.String",
"description": "Name of specific XML data format to use. By default jaxb
will be used. Important: This option is only for setting a custom name of the
data format, not to refer to an existing data format instance.",
"sourceType":
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties"
+ },
+ {
+ "name": "camel.rest.api-context-id-pattern",
+ "type": "java.lang.String",
+ "description": "Sets an CamelContext id pattern to only allow Rest APIs
from rest services within CamelContext's which name matches the pattern. The
pattern #name# refers to the CamelContext name, to match on the current
CamelContext only. For any other value, the pattern uses the rules from
PatternHelper#matchPattern(String,String)",
+ "sourceType":
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties",
+ "deprecated": true,
+ "deprecation": {}
+ },
+ {
+ "name": "camel.rest.api-context-listing",
+ "type": "java.lang.Boolean",
+ "description": "Sets whether listing of all available CamelContext's
with REST services in the JVM is enabled. If enabled it allows to discover
these contexts, if false then only the current CamelContext is in use.",
+ "sourceType":
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties",
+ "defaultValue": false,
+ "deprecated": true,
+ "deprecation": {}
}
],
"hints": []