Re: Camel CXFRS + Swagger integration

2018-02-26 Thread Okello Nelson
Sorry for the bother. I found a solution: - Defining a features bean - Adding swagger2feature to it - Proving the new feature list to cxfrs component. ``` @Bean(name = "features") public List features() { ServerFactoryBean sfb = new ServerFactoryBean(); ... Swagger2Feature fe

Camel CXFRS + Swagger integration

2018-02-26 Thread Okello Nelson
I've read in a number of places that the way to integrate Swagger with Camel CXFRS is by using `Swagger2Feature`. I already have a working Camel CXFRS service whose API docs I'd like to access through a URL. >From what I've seen this is supposed to be done like this: ``` Swagger2Feature feat

Re: CXFRS swagger integration

2016-09-03 Thread Brad Johnson
er-api/swagger-codegen/wiki/ > Server-stub-generator-HOWTO > > Pls let me know how you are doing with it... > > Best regards, > Johannes > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/CXFRS-swagger-integration-tp5787041p5787169.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: CXFRS swagger integration

2016-09-03 Thread jfx
this message in context: http://camel.465427.n5.nabble.com/CXFRS-swagger-integration-tp5787041p5787169.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXFRS swagger integration

2016-09-01 Thread Brad Johnson
F 3.1.7 it works by allocating another JAX-RS root resource to the >>> current endpoint - which unfortunately does not work for a Camel route. >>> >>> Swagger.json generation is also supported by default by an extra JAX-RS >>> root resource which is also not good

Re: CXFRS swagger integration

2016-09-01 Thread Sergey Beryozkin
Camel route - this is why Swagger2Feature.runAsFilter=true helps but as I noted above SwaggerUI resource can not be available as a filter in CXF 3.1.7. I've just fixed it for CXF 3.1.8-SNAPSHOT Sergey -- View this message in context: http://camel.465427.n5.nabble. com/CXFRS-swagger-integration-tp

Re: CXFRS swagger integration

2016-09-01 Thread Brad Johnson
ger2Feature.runAsFilter=true helps but as I noted above SwaggerUI > resource can not be available as a filter in CXF 3.1.7. > > I've just fixed it for CXF 3.1.8-SNAPSHOT > > Sergey > > > >> >> >> -- >> View this message in context: http://camel.465427.n5.nabble. >> com/CXFRS-swagger-integration-tp5787041p5787072.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >

Re: CXFRS swagger integration

2016-09-01 Thread Sergey Beryozkin
unAsFilter=true helps but as I noted above SwaggerUI resource can not be available as a filter in CXF 3.1.7. I've just fixed it for CXF 3.1.8-SNAPSHOT Sergey -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-swagger-integration-tp5787041p5787072.html Sent from th

Re: CXFRS swagger integration

2016-09-01 Thread cacert
/swagger.json when i follow the link "http://localhost:8080/api/rest/api-docs?url=/api/rest/swagger.json"; again this request comes to the route which is not I was expecting. -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-swagger-integration-tp5787041p5787072.html

Re: CXFRS swagger integration

2016-08-31 Thread Sergey Beryozkin
Try Swagger2Feature 'runAsFilter' property Sergey On 31/08/16 12:23, Kasim Sert (Ibtech-Software Infrastructure) wrote: Hi, I have defined cxfrs route and its working fine. However when I integrate swagger2feature of cxf I can not see api docs. When i hit swagger.json path to get swagger resp

CXFRS swagger integration

2016-08-31 Thread Kasim Sert (Ibtech-Software Infrastructure)
Hi, I have defined cxfrs route and its working fine. However when I integrate swagger2feature of cxf I can not see api docs. When i hit swagger.json path to get swagger response the request again hits my route which produces wrong response. I think requests for swagger api should not hit my rou

Re: cxfrs swagger

2016-02-22 Thread Sergey Beryozkin
context: http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892p5777938.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: cxfrs swagger

2016-02-22 Thread Sergey Beryozkin
to get swagger going with camel cxfrs? Is there an example anywhere? Are there specific versions of stuff to use, if you know? -- View this message in context: http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: cxfrs swagger

2016-02-22 Thread Sergey Beryozkin
th camel cxfrs? Is there an example anywhere? Are there specific versions of stuff to use, if you know? -- View this message in context: http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Sergey Beryozkin Tal

Re: cxfrs swagger

2016-02-19 Thread camel_case
tFeatures().add(feature); -- View this message in context: http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892p5777938.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: cxfrs swagger

2016-02-18 Thread Claus Ibsen
there an > example anywhere? Are there specific versions of stuff to use, if you know? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus

cxfrs swagger

2016-02-18 Thread camel_case
ere? Are there specific versions of stuff to use, if you know? -- View this message in context: http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892.html Sent from the Camel - Users mailing list archive at Nabble.com.