Skip to content

Commit 8eb061f

Browse files
committed
Added fix for media type examples
1 parent 4875e02 commit 8eb061f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

versions/3.0.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1452,11 +1452,15 @@ In addition, specific media types MAY be specified:
14521452
# multiple, specific media types may be specified:
14531453
requestBody:
14541454
content:
1455-
'image/png, image/jpeg':
14561455
# a binary file of type png or jpeg
1456+
'image/jpeg':
14571457
schema:
14581458
type: string
14591459
format: binary
1460+
'image/png':
1461+
schema:
1462+
type: string
1463+
format: binary
14601464
```
14611465
14621466
To upload multiple files, a `multipart` media type MUST be used:

0 commit comments

Comments
 (0)