This project contains all proto
file definitions for the STRM Privacy APIs.
Curious what we're building at STRM Privacy? See our homepage or dive right into our documentation to get started.
For more developer information, see the docs
directory.
We try to adhere to the Google gRPC guidelines (the so
called API Improvement Proposals
), which can be
found here. Our idea is to use
the Google API Linter for checking
the adherence to the Google AIPs.
Run ./setup-ide-protobuf-plugins.sh
to configure the following Protobuf
plugins:
- Protocol Buffers (official): works fine for basic usage.
- Protobuf (non official): has more functionality than the official plugin.
Make sure buf is installed. The Makefile
is the
entrypoint
of this repository and should be used to generate code and build artifacts for
various languages.
This repository uses bufbuild/protoc-gen-validate to validate Protobuf messages.
Important!
If validations are created for messages in A.proto
and file B.proto
contains
messages that use messages from A.proto
, but B.proto
does not
import validate.proto
, no validators are generated for B.proto
, and thus no
validations happen that are defined in A.proto
, even though B.proto
might
use messages from A.proto
in its own messages.