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
@@ -82,6 +85,8 @@ public class ProtobufSchemaCodegen extends DefaultCodegen implements CodegenConf
82
85
83
86
privatebooleanwrapComplexType = true;
84
87
88
+
privatebooleansupportMultipleResponses = false;
89
+
85
90
@Override
86
91
publicCodegenTypegetTag() {
87
92
returnCodegenType.SCHEMA;
@@ -192,6 +197,7 @@ public ProtobufSchemaCodegen() {
192
197
addSwitch(START_ENUMS_WITH_UNSPECIFIED, "Introduces \"UNSPECIFIED\" as the first element of enumerations.", startEnumsWithUnspecified);
193
198
addSwitch(ADD_JSON_NAME_ANNOTATION, "Append \"json_name\" annotation to message field when the specification name differs from the protobuf field name", addJsonNameAnnotation);
194
199
addSwitch(WRAP_COMPLEX_TYPE, "Generate Additional message for complex type", wrapComplexType);
@@ -475,7 +484,6 @@ public void preprocessOpenAPI(OpenAPI openAPI) {
475
484
}
476
485
}
477
486
478
-
479
487
/**
480
488
* Adds prefix to the enum allowable values
481
489
* NOTE: Enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, enum value must be unique
@@ -542,24 +550,28 @@ public void addEnumIndexes(List<Map<String, Object>> enumVars) {
0 commit comments