@@ -1954,7 +1954,7 @@ paths:
1954
1954
description : the user's address
1955
1955
` ` `
1956
1956
1957
- When a runtime expression evaluates to null , no parameter value is passed to the target operation.
1957
+ When a runtime expression fails to evaluate , no parameter value is passed to the target operation.
1958
1958
1959
1959
Values from the response body can be used to drive a linked operation.
1960
1960
@@ -1981,7 +1981,7 @@ value), references MAY also be made through a relative `operationRef`:
1981
1981
links:
1982
1982
UserRepositories:
1983
1983
# returns array of '#/components/schemas/repository'
1984
- operationRef: '#paths~12.0~1repositories~1/{username}'
1984
+ operationRef: '#/ paths~12.0~1repositories~1/{username}/get '
1985
1985
parameters:
1986
1986
username: $response.body#/username
1987
1987
` ` `
@@ -1992,7 +1992,7 @@ or an absolute `operationRef`:
1992
1992
links:
1993
1993
UserRepositories:
1994
1994
# returns array of '#/components/schemas/repository'
1995
- operationRef: 'https://na2.gigantic-server.com/#/paths/~12.0~1repositories~1{username}'
1995
+ operationRef: 'https://na2.gigantic-server.com/#/paths/~12.0~1repositories~1{username}/get '
1996
1996
parameters:
1997
1997
username: $response.body#/username
1998
1998
` ` `
@@ -2009,7 +2009,7 @@ This mechanism is used by [Link Objects](#linkObject) and [Callback Objects](#ca
2009
2009
The runtime expression is defined by the following [ABNF](https://tools.ietf.org/html/rfc5234) syntax
2010
2010
2011
2011
```
2012
- expression = ( "$url" | "$method" | "$request." [ source ] | "$response." [ source ] )
2012
+ expression = ( "$url" | "$method" | "$statusCode" | "$ request." source | "$response." source )
2013
2013
source = ( header-reference | query-reference | path-reference | body-reference )
2014
2014
header-reference = "header." token
2015
2015
query-reference = "query." name
@@ -2028,7 +2028,7 @@ The table below provides examples of runtime expressions and examples of their u
2028
2028
##### <a name="runtimeExpressionExamples"></a>Examples
2029
2029
2030
2030
Source Location | example expression | notes
2031
- ---|:---|:---|:---
2031
+ ---|:---|:---|
2032
2032
HTTP Method | `$method` | The allowable values for the `$method` will be those for the HTTP operation
2033
2033
Requested media type | `$request.header.accept` |
2034
2034
Request parameter | `$request.path.id` | Request parameters MUST be declared in the `parameters` section for the parent operation or they cannot be evaluated. This includes request headers.
0 commit comments