This repository contains the Protocol Buffers (.proto) definitions for various microservices. It includes request/response message structures, service definitions, validation rules, and HTTP/JSON transcoding options for seamless gRPC–REST interoperability.
The repository is organized into the following directories:
- protobuf/buf — Contains the required Buf proto definitions for field validation using protovalidate
- protobuf/google/ — Contains the required Google API and RPC proto definitions for annotations and rich error support
- protobuf/... — Contains the rest of the definitions i.e message, services,and shared resources
- gRPC & REST compatibility — via
google.api.httpannotations - Validation rules — using
buf.validate - Rich error model — integrates
google.rpc.Statusandgoogle.rpc.ErrorInfo
- Generated Go packages are output to
gen/go/pb - Validation rules follow protovalidate specifications
- Envoy configuration should reference
desc.pbfor HTTP/JSON transcoding
This repository is maintained under the MIT License. See the LICENSE file for more details.