File tree Expand file tree Collapse file tree
tools/proto-convert/src/config/protobuf-schema-template Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ import "{{{import}}}.proto";
4949 { {/isEnum} }
5050
5151{ {/vendorExtensions.x-oneof-property} }
52-
5352{ {/vars} }
5453{ {#vendorExtensions.x-oneof-schema} }
5554 oneof { {classVarName} } {
@@ -60,6 +59,7 @@ import "{{{import}}}.proto";
6059 { {/description} }
6160 { {#vendorExtensions.x-protobuf-type} }{ {{.} }} { {/vendorExtensions.x-protobuf-type} }{ {{vendorExtensions.x-protobuf-data-type} }} { {{name} }} = { {vendorExtensions.x-protobuf-index} }{ {#vendorExtensions.x-protobuf-packed} } [packed=true]{ {/vendorExtensions.x-protobuf-packed} }{ {#vendorExtensions.x-protobuf-json-name} } [json_name="{ {vendorExtensions.x-protobuf-json-name} }"]{ {/vendorExtensions.x-protobuf-json-name} };
6261 { {/vendorExtensions.x-oneof-property} }
62+
6363 { {/vars} }
6464 }
6565{ {/vendorExtensions.x-oneof-schema} }
You can’t perform that action at this time.
0 commit comments