Skip to content

Incorrectly formatted error message for multipleOf #1209

@fjavierjimenez

Description

@fjavierjimenez

Given the following schema:
{ "type": "object", "properties": { "value1": { "type": "number", "multipleOf": 0.00001 } } }

and the following input:
{"value1":123.000001}

the library is returning the following error message:
must be multiple of 0

but it should be: "must be multiple of 0.00001"

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