Skip to content

Commit d7e0af5

Browse files
authored
Merge pull request OAI#937 from RobDolinMS/patch-6
[Data Types] Clean-up
2 parents 6fb043b + 2a84465 commit d7e0af5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

versions/3.0.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,12 @@ By convention, it is RECOMMENDED that the OpenAPI Specification (OAS) file be na
135135

136136
### <a name="dataTypes"></a>Data Types
137137

138-
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). Note that `integer` as a type is also supported and is defined as a JSON number without a fraction or exponent part. `null` is not supported as a value.
138+
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).
139+
Note that `integer` as a type is also supported and is defined as a JSON number without a fraction or exponent part.
140+
`null` is not supported as a value.
139141
Models are described using the [Schema Object](#schemaObject) which is an extended subset of JSON Schema Specification Wright Draft 00.
140142

141-
<a name="dataTypeFormat"></a>Primitives have an optional modifier property `format`.
143+
<a name="dataTypeFormat"></a>Primitives have an optional modifier property: `format`.
142144
OAS uses several known formats to more finely define the data type being used.
143145
However, the `format` property is an open `string`-valued property, and can have any value to support documentation needs.
144146
Formats such as `"email"`, `"uuid"`, etc., can be used even though they are not defined by this specification.

0 commit comments

Comments
 (0)