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?

Share Improve this question asked Nov 21, 2024 at 15:13 nik0x1nik0x1 1,2102 gold badges7 silver badges24 bronze badges 2
  • 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
Add a comment  | 

1 Answer 1

Reset to default 1

I 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