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
We do not think 'byte' is the correct format nor is it documented in the 3.1.0 spec. Also length types should be integers not floating point. Also another reason byte does not make sense is a Character is one char or 2 bytes (or could be more under special cases) in Java.
We think the correct OpenAPI for this would be:
"maxLength": 1,
"minLength": 0,
"type": "string",
Thanks,
-David
The text was updated successfully, but these errors were encountered:
We are finding that a Java Character field is mapped to OpenAPI via:
"type": "string",
"format": "byte",
"maxLength": 1.0,
We do not think 'byte' is the correct format nor is it documented in the 3.1.0 spec. Also length types should be integers not floating point. Also another reason byte does not make sense is a Character is one char or 2 bytes (or could be more under special cases) in Java.
We think the correct OpenAPI for this would be:
"maxLength": 1,
"minLength": 0,
"type": "string",
Thanks,
-David
The text was updated successfully, but these errors were encountered: