File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1156,9 +1156,9 @@ A `requestBody` example for submitting a file in a `POST` operation therefore ma
1156
1156
1157
1157
` ` ` yaml
1158
1158
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 ` */*`
1162
1162
schema :
1163
1163
# a binary file of any type
1164
1164
type : string
@@ -1170,9 +1170,9 @@ In addition, specific media types may be specified:
1170
1170
` ` ` yaml
1171
1171
# multiple, specific media types may be specified:
1172
1172
requestBody :
1173
- # a binary file of type png or jpeg
1174
1173
content :
1175
1174
' image/png, image/jpeg ' :
1175
+ # a binary file of type png or jpeg
1176
1176
schema :
1177
1177
type : string
1178
1178
format : binary
You can’t perform that action at this time.
0 commit comments