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.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,12 @@ By convention, it is RECOMMENDED that the OpenAPI Specification (OAS) file be na
135
135
136
136
### <aname="dataTypes"></a>Data Types
137
137
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.
139
141
Models are described using the [Schema Object](#schemaObject) which is an extended subset of JSON Schema Specification Wright Draft 00.
140
142
141
-
<aname="dataTypeFormat"></a>Primitives have an optional modifier property `format`.
143
+
<aname="dataTypeFormat"></a>Primitives have an optional modifier property:`format`.
142
144
OAS uses several known formats to more finely define the data type being used.
143
145
However, the `format` property is an open `string`-valued property, and can have any value to support documentation needs.
144
146
Formats such as `"email"`, `"uuid"`, etc., can be used even though they are not defined by this specification.
0 commit comments