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