-
Notifications
You must be signed in to change notification settings - Fork 6
OpenAPI/Swagger support #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for noticing this feature.
Here’s an example of using
This project doesn’t offer direct OpenAPI support. It’s better to use a dedicated tool for this problem, like protoc-gen-openapi or protoc-gen-openapiv2. |
|
I’m very cautious about adding new features. Considering that existing tools already support this functionality, I won’t include built-in support for it in the framework. Thank you for your understanding. |
I took another look at this feature, and it might work since it doesn’t need to depend on |
Hey @DanielLiu1123
I became interested in this library because of its unique JSON transcoding feature.
The main purpose of REST transcoding is to enable calling REST interfaces from UI, so that browser can invoke gRPC methods.
Since UIs are typically written in TypeScript, they require type definitions, which can be generated from OpenAPI/Swagger definitions. So I needed to plug OpenAPI generator to grpc-starter transcoding feature. I attempted to use @springdoc/springdoc-openapi, but it doesn’t seem to be compatible with this library.
Would it be possible to add OpenAPI support?
The text was updated successfully, but these errors were encountered: