Svar: Re: Svar: Re: Unable to get Openapi/swagger in Camel Quarkus

2024-04-12 Thread Mikael Andersson Wigander
Hi, The application property worked but: For some reason the @ApplicationScoped annotation breaks the OpenAPI UI. If removed the swagger is displayed. I’m at a dead end where I need to inject a bean in my router but to do that the @ApplicationScoped needs to be present otherwise the @Inject th

Re: Svar: Re: Unable to get Openapi/swagger in Camel Quarkus

2024-04-11 Thread James Netherton
Hi, By default, there is no direct integration with quarkus-smallrye-openapi. If you want your Camel REST services to be published under /q/openapi, there is a configuration property to enable this: quarkus.camel.openapi.expose.enabled=true There's more information here: https://camel.apache.or

Svar: Re: Unable to get Openapi/swagger in Camel Quarkus

2024-04-10 Thread Mikael Andersson Wigander
Hi and thanks but the result is the same /M Den 9 apr. 2024 kl 15:53, Claudio Miranda <[clau...@claudius.com.br](mailto:Den 9 apr. 2024 kl 15:53, Claudio Miranda < skrev: > Em ter., 9 de abr. de 2024 às 13:50, Mikael Andersson Wigander > escreveu: >> >> I have a Quarkus Camel application which

Re: Unable to get Openapi/swagger in Camel Quarkus

2024-04-09 Thread Claudio Miranda
Em ter., 9 de abr. de 2024 às 13:50, Mikael Andersson Wigander escreveu: > > I have a Quarkus Camel application which exposes a REST interface. > I have followed the process of adding the dependencies and created the > definition but I can not get anything in the Quarkus Swagger UI. you can get

Unable to get Openapi/swagger in Camel Quarkus

2024-04-09 Thread Mikael Andersson Wigander
I have a Quarkus Camel application which exposes a REST interface. I have followed the process of adding the dependencies and created the definition but I can not get anything in the Quarkus Swagger UI. Dependencies: quarkus-smallrye-openapi quarkus-camel-openapi-java camel-quarkus-platform-http