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
I searched similar keywords but don't found any relevant issues.
The Go struct code generated by protoc 3 is typically in the following format:
struct{ Field1 string protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty" }
It only includes protobuf and json parameters. I need to generate fields with additional parameters, such as "protobuf:"" "json:"" "description:". How should I write it in protoc 3?
I wanna generated "description" parameter because open-api v3 is support annotion in resquest/response body now. so maybe proto3 can support generated this parameter.
can someone suggest me how to do it. thanks.
it would be best if someone can give me an example to guide how to write proto3. very thanks :)
The text was updated successfully, but these errors were encountered:
I searched similar keywords but don't found any relevant issues.
The Go struct code generated by protoc 3 is typically in the following format: struct{ Field1 string protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty" }
It only includes protobuf and json parameters. I need to generate fields with additional parameters, such as "protobuf:"" "json:"" "description:". How should I write it in protoc 3?
I wanna generated "description" parameter because open-api v3 is support annotion in resquest/response body now. so maybe proto3 can support generated this parameter.
can someone suggest me how to do it. thanks.
it would be best if someone can give me an example to guide how to write proto3. very thanks :)
You need to know how to describe proto3 totally and how the plugin works.
I'm a beginer of proto3.
I searched similar keywords but don't found any relevant issues.
The Go struct code generated by protoc 3 is typically in the following format:
struct{ Field1 string protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty" }
It only includes protobuf and json parameters. I need to generate fields with additional parameters, such as "protobuf:"" "json:"" "description:". How should I write it in protoc 3?
I wanna generated "description" parameter because open-api v3 is support annotion in resquest/response body now. so maybe proto3 can support generated this parameter.
can someone suggest me how to do it. thanks.
it would be best if someone can give me an example to guide how to write proto3. very thanks :)
The text was updated successfully, but these errors were encountered: