[ 
https://issues.apache.org/jira/browse/CAMEL-22348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014525#comment-18014525
 ] 

Claus Ibsen commented on CAMEL-22348:
-------------------------------------

The openapi feature in CXF is not supported by camel-cxf. There is no plan to 
support this. CXF is primary for SOAP-WS, and for REST then other stacks like 
what comes in Spring Boot or other modern runtimes is recommended.

If you desire to use CXF RS then you can use it without Camel if you want to 
take full advantage of CXF and its SoapUI feature etc.

 

> Camel cxfrs does not support explicit url in swaggerUiConfig
> ------------------------------------------------------------
>
>                 Key: CAMEL-22348
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22348
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxfrs
>    Affects Versions: 4.8.1
>            Reporter: Zhiying Yan
>            Priority: Minor
>         Attachments: demo.zip, screenshot-1.png, screenshot-2.png
>
>
> I tried a route with cxfrs component, and adding swagger ui by 
> openApiFeature, but it showed nothing.
> http://localhost:8080/services/api/hello/openapi.json can shows the api json.
> For swagger UI, I have explicitly set the URL in SwaggerUiConfig, as 
> http://localhost:8080/services/api/hello/api-docs?url=/services/api/hello/openapi.json
> but this URL is not accessible at all. 
>  !screenshot-1.png! 
> but the following two links are available.
> http://localhost:8080/services/api-docs?url=/services/openapi.json
> http://localhost:8080/services/api-docs?url=/services/api/hello/openapi.json
> This is my  [^demo.zip] , please help to check! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to