Skip to content

Commit ece5497

Browse files
authored
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.
1 parent 3678d30 commit ece5497

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

versions/3.1.0.md

-2
Original file line numberDiff line numberDiff line change
@@ -2307,8 +2307,6 @@ The OpenAPI Schema Object is a JSON Schema vocabulary which extends JSON Schema
23072307
The following properties are taken from the JSON Schema definition but their definitions were adjusted to the OpenAPI Specification.
23082308

23092309
- 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.
23122310
- description - [CommonMark syntax](http://spec.commonmark.org/) MAY be used for rich text representation.
23132311
- 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.
23142312

0 commit comments

Comments
 (0)