albenik/twirp-openapi-gen

not support optional tag

huatan opened this issue · 2 comments

core/proto/base/base.proto: is a proto3 file that contains optional fields, but code generator protoc-gen-twirp-openapi hasn't been updated to support optional fields in proto3. Please ask the owner of this code generator to support proto3 optional.--twirp-openapi_out:

I am the owner of this generator.

I'll be grateful if you explain your request a bit wide.

proto3 added support for optional fields. When running the protoc command (maybe while leveraging buf) a warning is given that this plugin does not support optional fields