buf.gen.yaml
buf.gen.yaml is a configuration file used by the buf generate command to generate integration code for the languages of your choice
| Type | object |
|---|---|
| File match |
buf.gen.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/buf-gen-yaml/latest.json |
| Source | https://www.schemastore.org/buf.gen.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
buf.gen.yaml is a configuration file used by the buf generate command to generate integration code for the languages of your choice.
Properties
version
string
Required. Defines the current configuration version. Accepted values are v2, v1, or v1beta1.
Definitions
types
string[]
Include only the specified types when generating.
exclude_types
string[]
Exclude the specified types when generating.
paths
string[]
Include only the specified paths when generating.
exclude_paths
string[]
Exclude the specified paths when generating.