-
Notifications
You must be signed in to change notification settings - Fork 411
Incorrect format specified for type string. #273
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
Comments
OpenAPI Specification is inconsistent on this point. It provides examples of This issue is discussed in OAI/OpenAPI-Specification#1547. |
Thank you for the pointer. The comment on that thread seems to imply that there was suppose to be a meeting where the decision would have been made about byte vs base64 The comment i am referring to is from April 2018, almost 2 years ago: So if the decision has been made then it's probably worth-while updating the docs accordingly so not to have both formats, otherwise, as some of the other comments point out if feels weird and a bit inconsistent. In either case this looks to be the same issue as discussed in the issue mentioned above so feel free to update this one make this as a 'Duplicate', 'Close' it or whatever proper flow. Thanks |
Sounds like Perhaps the docs should be changed to suggest |
This is from the following page:
https://swagger.io/docs/specification/describing-responses/
Description above mentions type:string with format: binary or format: base64.
The latter probably should be format: byte; i was not able to find format: base64 in the section around Data Types: https://swagger.io/specification/#dataTypes
The text was updated successfully, but these errors were encountered: