You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove boolean compatibility for exclusive* (#2226)
This brings exclusiveMinimum, exclusiveMaximum, minimum, and
maximum, into full modern JSON Schema compatibility.
There are no edits directly mentioning minimum and maximum,
but removing the boolean form simplifies their processing
by making it context-independent.
Copy file name to clipboardExpand all lines: versions/3.1.0.md
-2
Original file line number
Diff line number
Diff line change
@@ -2307,8 +2307,6 @@ The OpenAPI Schema Object is a JSON Schema vocabulary which extends JSON Schema
2307
2307
The following properties are taken from the JSON Schema definition but their definitions were adjusted to the OpenAPI Specification.
2308
2308
2309
2309
- type - Used to restrict the allowed types as specified in JSON Schema, but may be modified by the [`nullable`](#schemaNullable) keyword.
2310
-
- exclusiveMinimum - Value can be a numeric value just like JSON Schema, or for backwards compatibility with older drafts it can accept a boolean to act as a modifier to the `minimum` keyword. The numeric value usage is recommended.
2311
-
- exclusiveMaximum - Value can be a numeric value just like JSON Schema, or for backwards compatibility with older drafts it can accept a boolean to act as a modifier to the `minimum` keyword. The numeric value usage is recommended.
2312
2310
- description - [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.
2313
2311
- format - See [Data Type Formats](#dataTypeFormat) for further details. While relying on JSON Schema's defined formats, the OAS offers a few additional predefined formats.
0 commit comments