Skip to content

Commit 4688b81

Browse files
authored
Merge pull request #3922 from handrews/byte-encoding-304
format: byte also defaults to octet-stream (3.0.4)
2 parents 6e7b1f5 + 8baca79 commit 4688b81

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
@@ -1619,8 +1619,8 @@ The default values for `contentType` are as follows, where an _n/a_ in the `form
16191619

16201620
Property `type` | Property `format` | Default `contentType`
16211621
------------- | --------------- | ---------------------
1622-
`string` | `binary` | `application/octet-stream`
1623-
`string` | _none, or any except `binary`_ | `text/plain`
1622+
`string` | `binary` _or_ `byte` | `application/octet-stream`
1623+
`string` | _none, or any except `binary` or `byte`_ | `text/plain`
16241624
`number`, `integer`, or `boolean` | _n/a_ | `text/plain`
16251625
`object` | _n/a_ | `application/json`
16261626
`array` | _n/a_ | according to the `type` and `format` of the `items` schema

0 commit comments

Comments
 (0)