Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions private/buf/cmd/buf/command/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ func NewCommand(
# Whether to generate code for the well-known types.
# Optional.
include_wkt: false
# Include only these types for this plugin.
# Include only these types for this plugin.
# Optional.
types:
- "foo.v1.User"
# Exclude these types for this plugin.
types:
- "foo.v1.User"
# Exclude these types for this plugin.
# Optional.
exclude_types:
exclude_types:
- "buf.validate.oneof"
- "buf.validate.message"
- "buf.validate.field""
Expand Down Expand Up @@ -259,10 +259,10 @@ func NewCommand(
types:
- "foo.v1.User"
- "foo.v1.UserService"
# Exclude these types.
# Optional.
exclude_types:
- "buf.validate"
# Exclude these types.
# Optional.
exclude_types:
- "buf.validate"
# Only generate code for files in these paths.
# If empty, include all paths.
paths:
Expand Down