You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generators/protobuf-schema.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
19
19
| Option | Description | Values | Default |
20
20
| ------ | ----------- | ------ | ------- |
21
21
|addJsonNameAnnotation|Append "json_name" annotation to message field when the specification name differs from the protobuf field name||false|
22
+
|aggregateModelsName|Aggregated model filename. If set, all generated models will be combined into this single file.||null|
22
23
|numberedFieldNumberList|Field numbers in order.||false|
23
24
|startEnumsWithUnspecified|Introduces "UNSPECIFIED" as the first element of enumerations.||false|
24
25
|wrapComplexType|Generate Additional message for complex type||true|
@@ -186,6 +192,7 @@ public ProtobufSchemaCodegen() {
186
192
addSwitch(START_ENUMS_WITH_UNSPECIFIED, "Introduces \"UNSPECIFIED\" as the first element of enumerations.", startEnumsWithUnspecified);
187
193
addSwitch(ADD_JSON_NAME_ANNOTATION, "Append \"json_name\" annotation to message field when the specification name differs from the protobuf field name", addJsonNameAnnotation);
188
194
addSwitch(WRAP_COMPLEX_TYPE, "Generate Additional message for complex type", wrapComplexType);
195
+
addOption(AGGREGATE_MODELS_NAME, "Aggregated model filename. If set, all generated models will be combined into this single file.", null);
0 commit comments