- protobuf files are located at api/
- swagger.json file is located at assets/generated/swagger/api.swagger.json
- Makefile is located at build/Makefile
- Generators are located in build/generators
The record of truth for the API is api/
To regenerate swagger, please do the following:
make -f build/Makefile generators
Note: you need to have protoc
in your path. If you're on a Mac you can run
make -f build/Makefile install-protoc-darwin
To install protoc for you (a password may be required to complete this operation)
There are also two plugins you will need to have installed for OpenAPI/Swagger generation. They are:
- github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
Install with
make -f build/Makefile install-protoc-generators
The best source of knowledge on .proto
files is Google's Documentation