Fix exlcusiveMaximum and exclusiveMinimum to be number type instead o… - #135
Merged
Conversation
…f boolean, create script to show diff between JSON schema version for pull request
…les to show exclusiveMinimum and exclusiveMaximum usage, remove strict schema testing example
… diff, update README with exclusiveMaximum and exclusiveMinimum changes
pflooky
force-pushed
the
feature/exclusive-update
branch
2 times, most recently
from
July 27, 2025 09:16
9e18025 to
06aff67
Compare
Contributor
Author
Schema Diff Analysis📋 Schema Changes Detected Files compared:
Diff: --- /var/folders/jm/7s7fxpz93qv430b5fc1t0x880000gn/T/tmp.2mtCfbBJZZ 2025-07-27 19:28:31
+++ /var/folders/jm/7s7fxpz93qv430b5fc1t0x880000gn/T/tmp.Tn0DPlQBk4 2025-07-27 19:28:31
@@ -465,14 +465,12 @@
"additionalProperties": false,
"properties": {
"exclusiveMaximum": {
- "default": false,
- "description": "If set to true, all values are strictly less than the maximum value (values < maximum). Otherwise, less than or equal to the maximum value (values <= maximum).",
- "type": "boolean"
+ "description": "All values must be strictly less than this value (values < exclusiveMaximum).",
+ "type": "string"
},
"exclusiveMinimum": {
- "default": false,
- "description": "If set to true, all values are strictly greater than the minimum value (values > minimum). Otherwise, greater than or equal to the minimum value (values >= minimum).",
- "type": "boolean"
+ "description": "All values must be strictly greater than this value (values > exclusiveMinimum).",
+ "type": "string"
},
"format": {
"description": "Format of the date. Follows the format as prescribed by [JDK DateTimeFormatter](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html). For example, format 'yyyy-MM-dd'.",
@@ -515,14 +513,12 @@
"additionalProperties": false,
"properties": {
"exclusiveMaximum": {
- "default": false,
- "description": "If set to true, all values are strictly less than the maximum value (values < maximum). Otherwise, less than or equal to the maximum value (values <= maximum).",
- "type": "boolean"
+ "description": "All values must be strictly less than this value (values < exclusiveMaximum).",
+ "type": "number"
},
"exclusiveMinimum": {
- "default": false,
- "description": "If set to true, all values are strictly greater than the minimum value (values > minimum). Otherwise, greater than or equal to the minimum value (values >= minimum).",
- "type": "boolean"
+ "description": "All values must be strictly greater than this value (values > exclusiveMinimum).",
+ "type": "number"
},
"format": {
"default": "i32",
@@ -578,14 +574,12 @@
"additionalProperties": false,
"properties": {
"exclusiveMaximum": {
- "default": false,
- "description": "If set to true, all values are strictly less than the maximum value (values < maximum). Otherwise, less than or equal to the maximum value (values <= maximum).",
- "type": "boolean"
+ "description": "All values must be strictly less than this value (values < exclusiveMaximum).",
+ "type": "number"
},
"exclusiveMinimum": {
- "default": false,
- "description": "If set to true, all values are strictly greater than the minimum value (values > minimum). Otherwise, greater than or equal to the minimum value (values >= minimum).",
- "type": "boolean"
+ "description": "All values must be strictly greater than this value (values > exclusiveMinimum).",
+ "type": "number"
},
"format": {
"default": "i32",Summary:
|
Contributor
|
Can someone merge? |
jgperrin
approved these changes
Aug 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…f boolean, create script to show diff between JSON schema version for pull request