Skip to content

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

Open
@glanzel

Description

@glanzel

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions