Skip to content

Commit d2870f4

Browse files
authored
ordering typo in example?
Not sure if this is a typo or I'm just a bit lost and it's possible to nest the media type like that
1 parent 14cadcf commit d2870f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

versions/3.0.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,9 +1156,9 @@ A `requestBody` example for submitting a file in a `POST` operation therefore ma
11561156

11571157
```yaml
11581158
requestBody:
1159-
# any media type is accepted, functionally equivalent to `*/*`
1160-
application/octet-stream:
1161-
content:
1159+
content:
1160+
application/octet-stream:
1161+
# any media type is accepted, functionally equivalent to `*/*`
11621162
schema:
11631163
# a binary file of any type
11641164
type: string
@@ -1170,9 +1170,9 @@ In addition, specific media types may be specified:
11701170
```yaml
11711171
# multiple, specific media types may be specified:
11721172
requestBody:
1173-
# a binary file of type png or jpeg
11741173
content:
11751174
'image/png, image/jpeg':
1175+
# a binary file of type png or jpeg
11761176
schema:
11771177
type: string
11781178
format: binary

0 commit comments

Comments
 (0)