Repository: camel Updated Branches: refs/heads/camel-2.17.x e9bb6ba36 -> d0f908546
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/d0f90854 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d0f90854 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d0f90854 Branch: refs/heads/camel-2.17.x Commit: d0f90854635493e63f183cf03703dd3d5ec6064f Parents: 9d3ff74 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:15:54 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/d0f90854/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";