Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.15.0
-
None
Description
Our OpenAPI spec maps all float/double fields to float64, but we at times also return NaN/infinity which can't be represented as such since the JSON spec doesn't support it.
One alternative could be to document it as an either type, returning either a float64 or a string.