xjazzfreakx opened a new issue #3457:
URL: https://github.com/apache/camel-quarkus/issues/3457


   Issue: Wrong URL for Service in Swagger UI  ( the context path appears twice 
e.g. /api/api/service/test )
   It was correct for Version Q 2.4.2 but appears from Q Versions 2.6.x
   
   Steps to reproduce: 
   
   1. Camel Java Config: 
   `restConfiguration()

    .host("localhost")
    .apiHost("localhost")
    .contextPath("/api")

    .port(8080)
    .apiContextPath("/api-docs");
   
    

rest("/service")
    .get("/testing").description("Test Service")
    .outType(String.class)
    .to("direct:testing");
   `
   2. pom.xml:
   using Q Version 2.6.2 +  camel-quarkus-openapi-java + camel-quarkus-rest + 
quarkus-smallrye-openapi
   3.  application.properties : quarkus.swagger-ui.urls.camel=/api/api-docs/
   4. http://localhost:8080/q/swagger-ui/
   5. test service/testing -> url called will be 
http://localhost:8080/q/api/api/service/testing <- PROBLEM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to