Skip to content

Commit f854739

Browse files
committed
multipart/* -> multipart
1 parent 6bfbe5d commit f854739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versions/3.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ When passing complex objects in the `application/x-www-form-urlencoded` content
14551455

14561456
It is common to use `multipart/form-data` as a `Content-Type` when transferring request bodies to operations. In contrast to 2.0, a `schema` is REQUIRED to define the input parameters to the operation when using `multipart` content. This supports complex structures as well as supporting mechanisms for multiple file uploads.
14571457

1458-
When passing in `multipart` types, boundaries MAY be used to separate sections of the content being transferred — thus, the following default `Content-Type`s are defined for `multipart/*`:
1458+
When passing in `multipart` types, boundaries MAY be used to separate sections of the content being transferred — thus, the following default `Content-Type`s are defined for `multipart`:
14591459

14601460
* If the property is a primitive, or an array of primitive values, the default Content-Type is `text/plain`
14611461
* If the property is complex, or an array of complex values, the default Content-Type is `application/json`
@@ -1494,7 +1494,7 @@ requestBody:
14941494
type: '#/components/schemas/Address'
14951495
```
14961496
1497-
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.
1497+
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.
14981498

14991499
#### <a name="encodingObject"></a>Encoding Object
15001500

0 commit comments

Comments
 (0)