Skip to content

Commit f2c2342

Browse files
authored
Merge pull request OAI#927 from ePaul/content-parameter
Mention that Content objects can also be in parameters or response headers
2 parents 671f4ff + 7787b96 commit f2c2342

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

versions/3.0.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ the example must follow the prescribed serialization strategy for the parameter.
774774

775775
Field Name | Type | Description
776776
---|:---:|---
777-
<a name="parameterContent"></a>content | [Content Object](#contentObject) | The content of the request body.
777+
<a name="parameterContent"></a>content | [Content Object](#contentObject) | The content of the parameter.
778778

779779
In order to support common ways of serializing simple parameters, a set of `style` values are defined.
780780

@@ -1027,7 +1027,8 @@ content:
10271027

10281028
#### <a name="contentObject"></a>Content Object
10291029

1030-
Describes a set of supported content types. A content object can be used in [requestBody](#requestBody) and [response objects](#responseObject).
1030+
Describes a set of supported content types. A content object can be used in [requestBody](#requestBody),
1031+
[parameter objects](#parameterObject), [header objects](#headerObject), and [response objects](#responseObject).
10311032

10321033
Each key in the content object is the media-type of the [Content Type Object](#contentTypeObject).
10331034

0 commit comments

Comments
 (0)