Maret Benoit created CXF-7841: --------------------------------- Summary: CXF OpenApiFeature : Multiple description files by webapp. Key: CXF-7841 URL: https://issues.apache.org/jira/browse/CXF-7841 Project: CXF Issue Type: Bug Components: JAX-RS Affects Versions: 3.2.6 Reporter: Maret Benoit
Hello ! First of all, please excuse my approximative English. I'm facing an issue with OpenApi. I used to describe my apis with Swagger ( Swagger2Feature provided by cxf ). My project leader asked me to switch to OpenApiFeature. The problem is that I can not display the full description anymore. Let me explain this : - I have a webapp : http://localhost:xxx/mywebapp - The webapp, has 3 dependencies modules : a1, a2, a3. - Each module can be accessed to the path : http://localhost:xxx/mywebapp/(a1 or a2 or a3). - Each module has its own description so when I used to request the url : http://localhost:xxx/mywebapp/(a1 or a2 or a3)/swaggerapi.json I used to retrieve the json file corresponding to the module description. - Now, every time I request http://localhost:xxx/mywebapp/(a1 or a2 or a3)/openapi.json , I have the same file : the a1 description. - I search with the debugger, and I think that it is because only one instance of OpenApiFeature is used. I have created the 3 different configuration files with 3 different basePath, but nothing changed... So my question is, how can I display 3 description files, in 1 webapp, with 3 modules and 3 paths ? Is it possible yet ? Thank you very much :) -- This message was sent by Atlassian JIRA (v7.6.3#76005)