Skip to content

Commit e1f8fc1

Browse files
author
Ron
authored
Merge pull request OAI#1062 from OAI/issue-1025
clarified `null`
2 parents 8911a15 + 943dd44 commit e1f8fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ By convention, it is RECOMMENDED that the OpenAPI Specification (OAS) file be na
139139

140140
Primitive 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).
141141
Note that `integer` as a type is also supported and is defined as a JSON number without a fraction or exponent part.
142-
`null` is not supported as a value.
142+
`null` is not supported as a type (see [`nullable`](#schemaNullable) for an alternative solution).
143143
Models are described using the [Schema Object](#schemaObject) which is an extended subset of JSON Schema Specification Wright Draft 00.
144144

145145
<a name="dataTypeFormat"></a>Primitives have an optional modifier property: `format`.

0 commit comments

Comments
 (0)