File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
private/buf/cmd/buf/command/generate Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,13 @@ func NewCommand(
9696 # Whether to generate code for the well-known types.
9797 # Optional.
9898 include_wkt: false
99- # Include only these types for this plugin.
99+ # Include only these types for this plugin.
100100 # Optional.
101- types:
102- - "foo.v1.User"
103- # Exclude these types for this plugin.
101+ types:
102+ - "foo.v1.User"
103+ # Exclude these types for this plugin.
104104 # Optional.
105- exclude_types:
105+ exclude_types:
106106 - "buf.validate.oneof"
107107 - "buf.validate.message"
108108 - "buf.validate.field""
@@ -259,10 +259,10 @@ func NewCommand(
259259 types:
260260 - "foo.v1.User"
261261 - "foo.v1.UserService"
262- # Exclude these types.
263- # Optional.
264- exclude_types:
265- - "buf.validate"
262+ # Exclude these types.
263+ # Optional.
264+ exclude_types:
265+ - "buf.validate"
266266 # Only generate code for files in these paths.
267267 # If empty, include all paths.
268268 paths:
You can’t perform that action at this time.
0 commit comments