springdoc does not respect @field:Schema(enumAsRef = true)
on a kotlin data class property
#3016
Labels
question
Further information is requested
Good morning, evening!
Having
generates response schema ⬇ :
I expected ⬇ :
It can be achieved annotating an enum class with
Schema(enumAsRef = true)
but I'd prefer to annotate a data class property instead) 🙏🏼Here is a minimal, reproducible example
Versions:
The text was updated successfully, but these errors were encountered: