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.4.md
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -162,10 +162,8 @@ The formats defined by the OAS are:
162
162
`integer` | `int64` | signed 64 bits (a.k.a long)
163
163
`number` | `float` | |
164
164
`number` | `double` | |
165
-
`string` | | |
166
165
`string` | `byte` | base64 encoded characters
167
166
`string` | `binary` | any sequence of octets
168
-
`boolean` | | |
169
167
`string` | `date` | As defined by `full-date` - [RFC3339](https://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14)
170
168
`string` | `date-time` | As defined by `date-time` - [RFC3339](https://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14)
171
169
`string` | `password` | A hint to UIs to obscure input.
@@ -1446,7 +1444,7 @@ In contrast with the 2.0 specification, `file` input/output content in OpenAPI i
1446
1444
# content transferred with base64 encoding
1447
1445
schema:
1448
1446
type: string
1449
-
format: base64
1447
+
format: byte
1450
1448
```
1451
1449
1452
1450
```yaml
@@ -1537,7 +1535,7 @@ When passing in `multipart` types, boundaries MAY be used to separate sections o
1537
1535
1538
1536
* If the property is a primitive, or an array of primitive values, the default Content-Type is `text/plain`
1539
1537
* If the property is complex, or an array of complex values, the default Content-Type is `application/json`
1540
-
* If the property is a `type: string` with `format: binary` or `format: base64` (aka a file object), the default Content-Type is `application/octet-stream`
1538
+
* If the property is a `type: string` with `format: binary` or `format: byte` (aka a file object), the default Content-Type is `application/octet-stream`
0 commit comments