admin管理员组文章数量:1122832
Is there an analog of Swagger UI, that can visualise gRPC API (.proto
files) to HTML, like Swagger UI for OpenAPI .json
or .yaml
documents?
Is there an analog of Swagger UI, that can visualise gRPC API (.proto
files) to HTML, like Swagger UI for OpenAPI .json
or .yaml
documents?
- 1 One tool is Buf Schema Registry – DazWilkin Commented Nov 21, 2024 at 17:51
- Hello @DazWilkin unfortunately I have got 403 on your link. – nik0x1 Commented Nov 21, 2024 at 19:24
1 Answer
Reset to default 1I found protoc-gen-doc. To generate html
from .proto
files, we can run the following command:
protoc --doc_out=./doc --doc_opt=html,index.html proto/*.proto
Example of output result
本文标签: protocol buffersIs there an analog of swagger ui for gRPC APIStack Overflow
版权声明:本文标题:protocol buffers - Is there an analog of swagger ui for gRPC API? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309523a1934050.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论