Hi Team,
I have developed a CXF based Swagger page. I am able to access my CXF Endpoints
in Swagger under the following URL:
http://<host>:<port>/cxf/services
We are able to access the Swagger page for each CXF endpoint at their
respective endpoint urls like - /api-docs?url=/rest/api/content/v1/swagger.json
/api-docs?url=/rest/api/commercial/v1/swagger.json
But when I truncate everything after /api-docs? in the above url path, the
Swagger page gets forwarded to the default Petstore's Swagger page.
How can I configure the swagger.json globally on Swagger2Feature so that it'll
always forward only to my App's Swagger page?
Note: We are not using openapi implementation of CXF. We are using
cxf-service-description-swagger version 3.2.6. We cannot move to OpenAPI since
we generate Swagger from XSDs and WADLs.
Thanks,
Aishwarya S