Closed
Description
🚀 Feature
Extend google.protobuf.EnumOptions so we can set examples on enums.
enum State {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_enum) = {
example: "ACTIVE"
};
NONE = 0;
ACTIVE = 1;
INACTIVE = 2;
}
Workaround: set the example on every message using the enum.