Skip to content

Commit

Permalink
Merge pull request #3922 from handrews/byte-encoding-304
Browse files Browse the repository at this point in the history
format: byte also defaults to octet-stream (3.0.4)
  • Loading branch information
miqui authored Jun 23, 2024
2 parents 6e7b1f5 + 8baca79 commit 4688b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versions/3.0.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -1619,8 +1619,8 @@ The default values for `contentType` are as follows, where an _n/a_ in the `form

Property `type` | Property `format` | Default `contentType`
------------- | --------------- | ---------------------
`string` | `binary` | `application/octet-stream`
`string` | _none, or any except `binary`_ | `text/plain`
`string` | `binary` _or_ `byte` | `application/octet-stream`
`string` | _none, or any except `binary` or `byte`_ | `text/plain`
`number`, `integer`, or `boolean` | _n/a_ | `text/plain`
`object` | _n/a_ | `application/json`
`array` | _n/a_ | according to the `type` and `format` of the `items` schema
Expand Down

0 comments on commit 4688b81

Please sign in to comment.