gRPC generators.yml reference
The generators.yml file serves two roles: it declares your gRPC specification location (in the api.specs section), and configures SDK generation (in the optional groups section).
APIs declared here can be rendered in your documentation via docs.yml. See Generate your API Reference.
root
Location of the .proto directory root. Accepts a local path (e.g., proto) or a remote git reference. Must be specified up to where the package starts. For example, if your package is package.test.v1 at the file path protos/package/test/v1/test_file.proto, the root should be protos/
root.git.repo
The git repository URL (e.g., https://github.com/org/repo.git). The CLI shallow-clones this repository at generation time using your system’s git credential configuration (credential helpers, SSH keys, GIT_ASKPASS).
root.git.ref
Branch, tag, or commit SHA to check out. Defaults to the repository’s default branch when omitted.
root.git.path
Path to the .proto directory within the repository.
target
Path to the target .proto file (e.g., proto/user/v1/user.proto). Omit to generate docs for the entire root folder.
overrides
Path to the overrides configuration file, or a list of paths to multiple override files applied sequentially. Used for SDK generation only, not for documentation generation.
local-generation
Whether to compile .proto files locally. Defaults to remote generation (false). When enabled, you must have buf installed on your machine or in your CI/CD environment (e.g., GitHub Actions).