Camel and Swagger API *client* code

2019-11-08 Thread Ron Cecchini
I'm taking a shot here... I'm new to Swagger. I see that Camel has integration for generating Swagger APIs. But what about *reading* someone else's API and using their schemas in my routes? I'm looking at Swagger Codegen to see how to generate the client code... But given Camel's infinite aw

Re: Camel and Swagger API *client* code

2019-11-08 Thread Claus Ibsen
Hi Maybe something like the rest-swagger component https://camel.apache.org/components/latest/rest-swagger-component.html However this is for Camel to call an existing REST service by referring to the swagger api of the service. On Fri, Nov 8, 2019 at 10:17 PM Ron Cecchini wrote: > > I'm taking

Re: Camel and Swagger API *client* code

2019-11-08 Thread Ron Cecchini
Hi, Claus. Thanks for your response. The Camel "rest-swagger" looks awesome but unfortunately I don't think I can use it, because what I actually need are the data models created from the Swagger OpenAPI specs. And as it turns out, Maven's "swagger-codegen-maven-plugin" is precisely what I ne