3 ms·
nice, but I've had difficulties generating services with OAUTH2 support (especially with C++ and Java). If I have a Swagger Document with all the elements in p
by mister_hn 7y ago
nice, but I've had difficulties generating services with OAUTH2 support (especially with C++ and Java).
If I have a Swagger Document with all the elements in place, why isn't that block generated?
- wing328hk 7y agoFor C++, I don't think anyone has contributed the OAUTH2 enhancement to the C++ client generator (cpp-qt5, cpp-restsdk) yet. We definitely welcome the contributions. For Java, I agree there are rooms for improvements as we cover so many different libraries (jersey2, retrofit2, openfeign, resttemplate, etc) and a good starting point is https://github.com/OpenAPITools/openapi-generator/tree/master/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth https://github.com/OpenAPITools/openapi-generator/tree/maste... and we can plot the OAuth-related enhancements back to the template more easily.
- mister_hn 7y agoI hope also on C++ server generator will come some improvement, also with OAUTH2.