jazzband / jazzband/jsonmodels
to_json_schema: Change IntegerField to type:integer and FloatField to type:number
Open
- Dominant language
- Python
- Stars
- 343
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
While in [json-schema](https://json-schema.org/understanding-json-schema/reference/numeric.html#number)
it is described that:
"In Python, "number" is analogous to the float type"
and
"In Python, "integer" is analogous to the int type."
In jsmodels the IntegerField becomes type:muber and FloatField to type:float.
Shouldn't this be changed to support the json-schema Specification ?
Contributor guide
Assessment
This issue has not been assessed yet.