You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing some issues using refined types in Kotlin
Example:
refined UUID /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/g
type Todo {
id: UUID,
todoType: TodoType,
personId: UUID,
personName: String,
description: String
}
If I use the wirespec-maven-plugin to generate Kotin files, the UUID becomes a data class. In turn if I use a Todo object as a response type in my RestController, an example out is:
I'm facing some issues using refined types in Kotlin
Example:
If I use the
wirespec-maven-plugin
to generate Kotin files, theUUID
becomes a data class. In turn if I use a Todo object as a response type in my RestController, an example out is:But, what I would like it to be (and conceptually think it should be) is:
The text was updated successfully, but these errors were encountered: