Skip to content

Commit 2b5dff0

Browse files
authored
fix(docs): update invalid schema property in Encoding Object example (OAI#3178)
1 parent 6d93570 commit 2b5dff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.0.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ requestBody:
15671567
# default Content-Type for arrays is based on the `inner` type (object shown, so `application/json` in this example)
15681568
type: array
15691569
items:
1570-
type: '#/components/schemas/Address'
1570+
$ref: '#/components/schemas/Address'
15711571
```
15721572
15731573
An `encoding` attribute is introduced to give you control over the serialization of parts of `multipart` request bodies. This attribute is _only_ applicable to `multipart` and `application/x-www-form-urlencoded` request bodies.

0 commit comments

Comments
 (0)