Open kazk opened 3 years ago
https://github.com/kube-rs/k8s-pb/blob/7b4bf26bebcaed0ee1ff5286ad8ba3747368b517/k8s-pb-codegen/protos/apimachinery/pkg/util/intstr/generated.proto#L36-L42
Presumably to get an enum rather than a struct? We don't actually have any enums in the out directory at all.
enum
struct
out
The generated k8s-openapi one is marked as having alternative codegen and some special schema handling.
https://github.com/kube-rs/k8s-pb/blob/7b4bf26bebcaed0ee1ff5286ad8ba3747368b517/k8s-pb-codegen/protos/apimachinery/pkg/util/intstr/generated.proto#L36-L42