Closed Angaroni closed 6 years ago
Hello @Angaroni, in current version you won't be able use cxf-rt-rs-service-description-openapi-v3 library directly. But there are workarounds to this if you're looking for OpenAPI JSON document output for REST service endpoints. But from your comment I am not clear about your use case and would be helpful if you can explain more about the use case you are implementing and maybe we'll be able to help you better. You can reach out to me to discuss if that helps.
Hello @Angaroni, We have created a cookbook for Integration of Swagger with Devon application. You can also find source code for the demo at the end of the wiki.
https://github.com/oasp-forge/devon-guide/wiki/Cookbook-Swagger
Hello @AbhayChandel thank you for the effort, it worked perfectly.
I have tried to integrate the cxf-rt-rs-service-description-openapi-v3 library to generate an openapi.json definition file at run-time for the services implemented using apache cxf. I have managed to generate the json but it doesn't contain any end point, only the parameters that I have set in the OpenApiFeature, it seems that there are some dependency conflicts that doesn't allow to correctly use the library. You can see the usage of the cxf-rt-rs-service-description-openapi-v3 library a this location: https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot