I am currently using the following to define required properties from Kotlin data classes:
data class CarView(
@field:Schema(required = true) val label: String,
val description: String?,
)
It should be great if we can avoid all this boilerplate by expressing the requirement with Kotlin Null Safety. So in previous code we do not need to annotate every field.
I think it could be expressed in the function findSchema