camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-10164) camel-swagger to component
Date Fri, 26 Aug 2016 11:26:20 GMT


Claus Ibsen commented on CAMEL-10164:

Have improved the rest-dsl to allow producer side also, so you can do .to("rest:foo/{bar}")
and call a rest service from Camel.

Its not baked into the rest-dsl which is for hosting REST services in Camel. But it has a
nice facade by just using rest endpoint and the actual http component you can chose among
the many of them.

You can then also attach an swagger api-doc to the rest and it will use camel-swagger-java
to parse the api doc and validate that the rest uri is valid and that the exchange content
is valid also to get validation out of the box baked in.


> camel-swagger to component
> --------------------------
>                 Key: CAMEL-10164
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-swagger
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.18.0
> The idea is to allow to call a rest endpoint where you specify the swagger api the service
is based upon. Then in the endpoint you select the verb/path to call. Then because of the
swagger api we are able to validate and know if the payload is validate before calling the
> This can be a facade for the actual http component that does the call. So in other words
its like the *to* for the rest-dsl.

This message was sent by Atlassian JIRA

View raw message