Skip to content

Automatic min and max in json schema for integers #683

Description

@autoantwort

Numbers in json have no limit, but the integers we are parsing into have one.
If no limit is specified explicitly, the default std::numeric_limits::min/max values should be used.
One could always set https://json-schema.org/understanding-json-schema/reference/numeric#range in addition to the allOf property

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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