Repository: camel Updated Branches: refs/heads/camel-2.16.x d60324cbd -> 77f09309c refs/heads/master b523b1be3 -> 359f4c5c4
Fix syntax to correspond to the correct naming of contextIdPattern Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/359f4c5c Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/359f4c5c Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/359f4c5c Branch: refs/heads/master Commit: 359f4c5c4cc1b673eaa8d43b21d6208aef2caa4b Parents: b523b1b Author: Aurelien Pupier <apup...@redhat.com> Authored: Fri Mar 25 16:10:45 2016 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Mar 25 17:14:24 2016 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/camel/component/rest/RestApiEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/359f4c5c/camel-core/src/main/java/org/apache/camel/component/rest/RestApiEndpoint.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/component/rest/RestApiEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/rest/RestApiEndpoint.java index eca625c..935bc25 100644 --- a/camel-core/src/main/java/org/apache/camel/component/rest/RestApiEndpoint.java +++ b/camel-core/src/main/java/org/apache/camel/component/rest/RestApiEndpoint.java @@ -41,7 +41,7 @@ import org.apache.camel.util.ObjectHelper; /** * The rest-api component is used for providing Swagger API of the REST services which has been defined using the rest-dsl in Camel. */ -@UriEndpoint(scheme = "rest-api", title = "REST API", syntax = "rest-api:path/contextId", consumerOnly = true, label = "core,rest", lenientProperties = true) +@UriEndpoint(scheme = "rest-api", title = "REST API", syntax = "rest-api:path/contextIdPattern", consumerOnly = true, label = "core,rest", lenientProperties = true) public class RestApiEndpoint extends DefaultEndpoint { public static final String DEFAULT_API_COMPONENT_NAME = "swagger";