Skip to content

Commit 115cb03

Browse files
authored
Merge pull request #1218 from OAI/dm/link-parameters
Fixed ambiguity with link parameters and added requestBody support
2 parents acab4a9 + 890e546 commit 115cb03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

versions/3.0.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,8 @@ Field Name | Type | Description
19791979
---|:---:|---
19801980
<a name="linkOperationRef"></a>operationRef | `string` | A relative or absolute reference to an OAS operation. This field is mutually exclusive of the `operationId` field, and MUST point to an [Operation Object](#operationObject).
19811981
<a name="linkOperationId"></a>operationId | `string` | The name of an _existing_, resolvable OAS operation, as defined with a unique `operationId`. This field is mutually exclusive of the `operationRef` field. Relative `operationRef` values MAY be used to locate an existing [Operation Object](#operationObject) in the OAS.
1982-
<a name="linkParameters"></a>parameters | Map[`string`, Any \| [{expression}](#runtimeExpression) | A map representing parameters to pass to an operation as specified with `operationId` or identified via `operationRef`. The key is the parameter name to be used, whereas the value can be a constant or an expression to be evaluated and passed to the linked operation.
1982+
<a name="linkParameters"></a>parameters | Map[`string`, Any \| [{expression}](#runtimeExpression) | A map representing parameters to pass to an operation as specified with `operationId` or identified via `operationRef`. The key is the parameter name to be used, whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. The parameter name can be qualified using the [parameter location](#parameterIn) `[{in}.]{name}` for operations that use the same parameter name in different locations (e.g. path.id).
1983+
<a name="linkRequestBody"></a>requestBody | Any \| [{expression}](#runtimeExpression) | A literal value or [{expression}](#runtimeExpression)] to use as a request body when calling the target operation.
19831984
<a name="linkDescription"></a>description | `string` | A description of the link. Supports [CommonMark syntax](http://spec.commonmark.org/).
19841985
<a name="linkServer"></a>server | [Server Object](#serverObject) | A server object to be used by the target operation.
19851986

0 commit comments

Comments
 (0)