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/77f09309 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/77f09309 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/77f09309
Branch: refs/heads/camel-2.16.x Commit: 77f09309cd2f3b2ef73c92ed8507257c63ec5f83 Parents: 1c7577b Author: Aurelien Pupier <[email protected]> Authored: Fri Mar 25 16:10:45 2016 +0100 Committer: Claus Ibsen <[email protected]> Committed: Fri Mar 25 17:15:26 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/77f09309/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 113d9d4..8561bde 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";
