Reputation: 31
I'm using Apache Camel Spring Boot to create a REST service with Camel REST DSL and documented with OpenApi.
Now I'm following the rest-openapi-springdoc official example and can successfully access the OpenApi docs and all the Rest routes are working fine. The Swagger UI should be avaliable at /swagger-ui.html
, but It's returning a 404 error when I try to access it.
How can I make swagger UI work with Apache Camel Spring Boot? I'm using Java 17 and my code is the same as the official example: https://github.com/apache/camel-spring-boot-examples/blob/main/rest-openapi-springdoc/README.adoc
Upvotes: 3
Views: 1866