Skip to content

Commit 8baca79

Browse files
committed
format: byte also defaults to octet-stream (3.0.4)
The description of defaults in the `contentType` fixed fields table in 3.0.3 did not match the description in the Media Type Object's "Considerations for multipart" section. The "considerations for multipart" section appears to be more complete and correct in both 3.0.3 and 3.1.1, so this adjusts that table that replaced the fixed field defaults description to match the "considerations for multipart" section.
1 parent 7792c15 commit 8baca79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versions/3.0.4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,8 +1717,8 @@ The default values for `contentType` are as follows, where an _n/a_ in the `form
17171717

17181718
Property `type` | Property `format` | Default `contentType`
17191719
------------- | --------------- | ---------------------
1720-
`string` | `binary` | `application/octet-stream`
1721-
`string` | _none, or any except `binary`_ | `text/plain`
1720+
`string` | `binary` _or_ `byte` | `application/octet-stream`
1721+
`string` | _none, or any except `binary` or `byte`_ | `text/plain`
17221722
`number`, `integer`, or `boolean` | _n/a_ | `text/plain`
17231723
`object` | _n/a_ | `application/json`
17241724
`array` | _n/a_ | according to the `type` and `format` of the `items` schema

0 commit comments

Comments
 (0)