[
https://issues.apache.org/jira/browse/CAMEL-17535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karen Lease resolved CAMEL-17535.
---------------------------------
Resolution: Fixed
The issue is resolved. It might be worth mentioning in the documentation for
camel-springdoc that it only works using the "servelet" component for the REST
configuration. I tried to make it work with jetty but with no success since
using the camel-jetty-starter doesn't provide a ServletWebServerFactory bean
for the Spring web context which is needed to serve the Swagger UI.
> camel-example-spring-boot-rest-openapi-springdoc generates incorrect api doc
> ----------------------------------------------------------------------------
>
> Key: CAMEL-17535
> URL: https://issues.apache.org/jira/browse/CAMEL-17535
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.14.0
> Reporter: Karen Lease
> Assignee: Karen Lease
> Priority: Minor
> Fix For: 3.16.0
>
>
> The example camel-example-spring-boot-rest-openapi-springdoc generates a
> swagger OpenAPI document which doesn't contain the correct context path. The
> Swagger UI isn't able to execute the operations because it doesn't include
> the /api in the path.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)