You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Describing Responses page, section "Response That Returns a File", the text mentions "OpenAPI 3.0 defines file input/output content as type: string with format: binary or format: base64". In the code example for the base64 variant meanwhile is this:
paths:
/users/me:
get:
summary: Returns user informationresponses:
'200':
description: A JSON object containing user name and avatarcontent:
application/json:
schema:
type: objectproperties:
username:
type: stringavatar: # <-- image embedded into JSONtype: stringformat: byte ### ISSUE ###description: Base64-encoded contents of the avatar image
Maybe I'm mistaken, but pretty sure that should be "format: base64" there.
The text was updated successfully, but these errors were encountered:
On the Describing Responses page, section "Response That Returns a File", the text mentions "OpenAPI 3.0 defines file input/output content as type: string with format: binary or format: base64". In the code example for the base64 variant meanwhile is this:
Maybe I'm mistaken, but pretty sure that should be "format: base64" there.
The text was updated successfully, but these errors were encountered: