tapir
tapir copied to clipboard
[Feature] Semi-auto enum schema derivation configuration
Scala version: Scala 3
Describe the feature
In some types of derivation we can manually choose how to transform member names by Configuration (f.e. snake_case, kebab-case etc).
For deriving enum's schema by using Schema.derivedEnumeration
we have only two options: defaultStringBased
or writing our own transformation to raw string value. It would be useful to have different options like above out of the box