Commit b5aac5b
authored
Fix wrong error reported when the value is smaller than the maximum.
Can be tested with the following:
*Schema*
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://json-schema.org/draft-07/schema#",
"description": "Representation of the core response to the front end",
"type": "object",
"required": ["testProperty"],
"properties": {
"testProperty": {
"type": "integer",
"minimum": 50,
"maximum: 60
}
}
}
*JSON*
{
"testProperty": 60
}1 parent 06186e5 commit b5aac5b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
0 commit comments