Re: REST, Swagger and zombies

2017-03-09 Thread Zoran Regvart
Much better, thanks! On Thu, Mar 9, 2017 at 2:14 PM, Claus Ibsen wrote: > Hi > > I dont think any Camel users fancy writing 10 lines to setup a > component to call a rest endpoint. > I dont think what you do is simple. Although its possible. > > Maybe if you can get it down a syntax as > >

Re: REST, Swagger and zombies

2017-03-09 Thread Claus Ibsen
Hi I dont think any Camel users fancy writing 10 lines to setup a component to call a rest endpoint. I dont think what you do is simple. Although its possible. Maybe if you can get it down a syntax as rest-swagger:path:swaggerOperationId where path can be optional, and if omitted, then it

Re: REST, Swagger and zombies

2017-03-09 Thread Claus Ibsen
Hi In regards to tooling then they use the component json files that a component generates when its built. ie @UriEndpoint and all those @UriParam and @UriPath you set on the endpoint. So in any way you must define that in the endpoint to expose what options you can configure. In your mail you ha

REST, Swagger and zombies

2017-03-09 Thread Zoran Regvart
Hi Cameleers, I'm thinking of reopening CAMEL-10932[1]: the REST Swagger component, I would like to see support for something as simple like `rest-swagger:operation`, where operation would be from a Swagger specification. Operation ids are guaranteed to be unique by Swagger specification. I've got