OpenApiParameter
with Python float
type is incorrectly labeled as float
(32-bit) OpenAPI format rather than double
(64-bit)
#687
Labels
bug
Something isn't working
fix confirmation pending
issue has been fixed and confirmation from issue reporter is pending
Describe the bug
OpenApiParameter
with the native Pythonfloat
type is formatted as a 32-bitfloat
rather than 64-bitdouble
.Related to #674
To Reproduce
Use
drf-spectacular
0.22.0.The resulting schema:
Expected behavior
Expected schema
The text was updated successfully, but these errors were encountered: