jsonmodels icon indicating copy to clipboard operation
jsonmodels copied to clipboard

to_json_schema: Change IntegerField to type:integer and FloatField to type:number

Open glanzel opened this issue 2 years ago • 1 comments

While in json-schema 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 ?

glanzel avatar Mar 02 '23 12:03 glanzel

Hey @glanzel - thanks for feedback - I will look into that

beregond avatar Jun 19 '23 08:06 beregond