albenik / twirp-openapi-gen

A Twirp RPC OpenAPI generator implemented as `protoc` plugin
Apache License 2.0
1 stars 1 forks source link

not support optional tag #2

Open huatan opened 2 years ago

huatan commented 2 years ago

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:

albenik commented 2 years ago

I am the owner of this generator.

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

RoarkeRandall commented 1 year ago

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