Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions versions/1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,8 @@ The Parameter Object describes a single parameter to be sent in an operation and

This object includes the [Data Type Fields](#433-data-type-fields) in order to describe the type of this parameter. The [`type`](#dataTypeType) field MUST be used to link to other models.

If [`$ref`](#dataTypeRef) is used or [`type`](#dataTypeType) is a model's [`id`](#modelId), the [`paramType`](#parameterParamType) field MUST be `"body"` or `"form"`.

If [`type`](#dataTypeType) is [`File`](#434-file), the [`consumes`](#operationConsumes) field MUST be `"multipart/form-data"`, and the [`paramType`](#parameterParamType) MUST be `"form"`.

Field Name | Type | Description
Expand Down