Skip to content

Conversation

@handrews
Copy link
Member

@handrews handrews commented Mar 5, 2023

Fixes #1544 and #3175.

Add a brief explanation as a subsection of Data Types, and update the relevant examples. Specifically:

  • Don't use format: byte for a whole message body
  • Fix multipart/mixed example to be multipart/form-data (because multipart/mixed does not name its parts and therefore cannot be represented with an object schema)
  • Add an application/x-www-form-urlencoded example, which is where format: byte needs to be used

@handrews handrews added the 3.0.4 label Mar 5, 2023
Add a brief explanation as a subsection of Data Types, and
update the relevant examples.  Specifically:

* Don't use `format: byte` for a whole message body
* Fix `multipart/mixed` example to be `multipart/form-data`
  (because `multipart/mixed` does not name its parts and
  therefore cannot be represented with an object schema)
* Add an `application/x-www-form-urlencoded` example,
  which is where `format: byte` needs to be used
@handrews handrews force-pushed the using-byte-binary branch from df9ac29 to 0a28d2d Compare March 5, 2023 07:41
Copy link
Member

@MikeRalphson MikeRalphson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants