Skip to content

Commit 2a84465

Browse files
authored
[Data Types] Clean-up
Two edits: * Add colon ":" * One sentence per line Signed-off-by: Rob Dolin <[email protected]>
1 parent 5842eda commit 2a84465

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
@@ -134,10 +134,12 @@ By convention, it is RECOMMENDED that the OpenAPI Specification (OAS) file be na
134134

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

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

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

0 commit comments

Comments
 (0)