From 8baca79f33913d04f65a8d6263ef1cd5c3080bdc Mon Sep 17 00:00:00 2001 From: "Henry H. Andrews" Date: Wed, 19 Jun 2024 09:08:07 -0700 Subject: [PATCH] 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. --- versions/3.0.4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versions/3.0.4.md b/versions/3.0.4.md index 3918dc0784..56b37ec066 100644 --- a/versions/3.0.4.md +++ b/versions/3.0.4.md @@ -1717,8 +1717,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