-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
byte vs base64 format #1310
Comments
I've stumbled on the same issue and the spec is incoherent on this point. I've found this remark on the PR that introduces a "base64" that suggests that "byte" is the good format but there was no corrections. |
JSON Schema draft-07 (which would be relevant to OpenAPI 3.1 at the earliest, possibly 4.0, assuming OAI wants to adopt it at all) adds the These were formerly the |
Where does this leave interpreting "format"? Based on my reading of 3.0.1, it would seem right now that "byte" and "base64" would be synonyms. |
@pbryan in the long run, |
Thanks @handrews. |
Closing in favor of #1547. |
Data Types defines
format: byte
as base64-encoded characters.Considerations for File Uploads and Special Considerations for multipart Content mention
format: base64
, which is not mentioned in Data Types. Is this a typo and meant to sayformat: byte
? Or arebase64
andbyte
different formats?The text was updated successfully, but these errors were encountered: