[
https://issues.apache.org/jira/browse/CAMEL-22348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhiying Yan updated CAMEL-22348:
--------------------------------
Description:
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.
!screenshot-2.png!
but
http://localhost:8080/services/api/hello/api-docs?url=/services/api/hello/openapi.json
returns nothing.
!screenshot-1.png!
This is my [^demo.zip] , please help to check!
I just find the two following links work, though I have explicitly set the URL
in SwaggerUiConfig as another one.
http://localhost:8080/services/api-docs?url=/services/openapi.json works
http://localhost:8080/services/api-docs?url=/services/api/hello/openapi.json
works
was:
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.
!screenshot-2.png!
but
http://localhost:8080/services/api/hello/api-docs?url=/services/api/hello/openapi.json
returns nothing.
!screenshot-1.png!
This is my [^demo.zip] , please help to check!
> Camel cxfrs does not support swaggerUI
> --------------------------------------
>
> 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.
> !screenshot-2.png!
> but
> http://localhost:8080/services/api/hello/api-docs?url=/services/api/hello/openapi.json
> returns nothing.
> !screenshot-1.png!
> This is my [^demo.zip] , please help to check!
> I just find the two following links work, though I have explicitly set the
> URL in SwaggerUiConfig as another one.
> http://localhost:8080/services/api-docs?url=/services/openapi.json works
> http://localhost:8080/services/api-docs?url=/services/api/hello/openapi.json
> works
--
This message was sent by Atlassian Jira
(v8.20.10#820010)