Does a Enum Lens like: ``` Query.enum<EnumType&...
# http4k
r
Does a Enum Lens like:
Copy code
Query.enum<EnumType>().required("type")
is supposed to be translated as en enum type in OpenAPI3 specification ? Because it does not.
d
Unfortunately not. It's just being translated as a string because we only perform reflection on the items which have concrete examples (ie. Bodies)
r
Ok thanks. couldn't be done without reflexion just using Enum.values() ?
d
it could be if we had access to it at the correct time. but we don't