Validate consistency between open api apec and code
I have open-api.yaml where I describe my api spec.
I have a code where I implement the spec.
I'm not sure about using auto-generating code by spec because:
I'm not sure that it will work good with null-safety
I use 'type-safety' pattern for some fields instead of just using primitive type and don't know how continue to use it:
data class SpecificValue @JsonCreator(mode = d) constructor(@JsonValue val value: String) {
override fun toString() = value
}
So I have to implement my spec in...