Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.77 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.77 KB

STRM Privacy API definitions

This project contains all proto file definitions for the STRM Privacy APIs.

Starting with STRM Privacy

Curious what we're building at STRM Privacy? See our homepage or dive right into our documentation to get started.

Developing API Definitions

For more developer information, see the docs directory.

gRPC Guidelines

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.

IntelliJ and Protobuf plugin configuration

Run ./setup-ide-protobuf-plugins.sh to configure the following Protobuf plugins:

Install

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.

Proto validations

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.