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
Copy file name to clipboardExpand all lines: versions/3.0.4.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ Note that no aspect of implicit connection resolution changes how [URLs are reso
173
173
### Data Types
174
174
175
175
Data types in the OAS are based on the types supported by the [JSON Schema Specification Wright Draft 00](https://tools.ietf.org/html/draft-wright-json-schema-00#section-4.2).
176
-
Note that `integer` as a type is also supported and is defined as a JSON number without a fraction or exponent part.
176
+
Note that `integer` as a type is also supported and is defined as a JSON number that is a multiple of 1.
177
177
`null` is not supported as a type (see [`nullable`](#schema-nullable) for an alternative solution).
178
178
Models are defined using the [Schema Object](#schema-object), which is an extended subset of JSON Schema Specification Wright Draft 00.
179
179
@@ -2662,7 +2662,7 @@ The following keywords are taken directly from the JSON Schema definition and fo
2662
2662
2663
2663
The following keywords are taken from the JSON Schema definition but their definitions were adjusted to the OpenAPI Specification.
2664
2664
2665
-
* type - Value MUST be a string. Multiple types via an array are not supported.
2665
+
* type - Value MUST be a string. Multiple types via an array are not supported. `type: "integer"` is supported as a shortcut for `type: "number", multipleOf: 1`.
2666
2666
* allOf - Inline or referenced schema MUST be of a [Schema Object](#schema-object) and not a standard JSON Schema.
2667
2667
* oneOf - Inline or referenced schema MUST be of a [Schema Object](#schema-object) and not a standard JSON Schema.
2668
2668
* anyOf - Inline or referenced schema MUST be of a [Schema Object](#schema-object) and not a standard JSON Schema.
0 commit comments