Open srnjak opened 4 years ago
The issue with the casing of enum constants is fixed in the mpOpenapi-2.0
feature (and newer versions). However, the specific scenario in this defect is still broken in mpOpenapi-2.0
due to #17069 which means the enum constants are not included at all for ChronoUnit
.
In jax-rs representation object I used property of type java.time.temporal.ChronoUnit, which is an enum.
Example:
In generated openapi document I get literals in lower case:
I would expect openapi to be with upper-case literals like this: