We are using http4k with OpenApi doc generation with custom jackson. That is great as the examples in OpenApi are 100% equal to responses. However, this is not true for enum models. For example this enum model for DonutSize correctly show "example: d4" in lowercase (as we use jackson enum transformer to lowercase), but the individual enums are rendered uppercase. Is there something special we need to do for the enum models to be generated lowercase? Thanks!
09/09/2021, 3:24 PM
This is a bug - simple one and an easy fix - we just weren't using the Jackson instance to serialise the enum 🙂