Skip to content

pbsf/protoc-gen-openapi-bazel-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This repository uses Bazel to import protoc-gen-openapiv2 and generate an OpenApiV2 documentation from a proto file.

This was tested on Bazel 4.0.0, but should work on 3.5.0+.

Testing

Assuming you have Bazel 4.0.0 installed, just clone this repository and:

$ cd protoc-gen-openapi-bazel-example
$ bazel build //example:openapiv2

Then you can copy the generated file.swagger.json file and paste into https://editor.swagger.io/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published