@@ -1954,7 +1954,7 @@ paths:
19541954 description : the user's address
19551955` ` `
19561956
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.
19581958
19591959Values from the response body can be used to drive a linked operation.
19601960
@@ -1981,7 +1981,7 @@ value), references MAY also be made through a relative `operationRef`:
19811981links:
19821982 UserRepositories:
19831983 # returns array of '#/components/schemas/repository'
1984- operationRef: '#paths~12.0~1repositories~1/{username}'
1984+ operationRef: '#/ paths~12.0~1repositories~1/{username}/get '
19851985 parameters:
19861986 username: $response.body#/username
19871987` ` `
@@ -1992,7 +1992,7 @@ or an absolute `operationRef`:
19921992links:
19931993 UserRepositories:
19941994 # 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 '
19961996 parameters:
19971997 username: $response.body#/username
19981998` ` `
@@ -2009,7 +2009,7 @@ This mechanism is used by [Link Objects](#linkObject) and [Callback Objects](#ca
20092009The runtime expression is defined by the following [ABNF](https://tools.ietf.org/html/rfc5234) syntax
20102010
20112011```
2012- expression = ( "$url" | "$method" | "$request." [ source ] | "$response." [ source ] )
2012+ expression = ( "$url" | "$method" | "$statusCode" | "$ request." source | "$response." source )
20132013 source = ( header-reference | query-reference | path-reference | body-reference )
20142014 header-reference = "header." token
20152015 query-reference = "query." name
@@ -2028,7 +2028,7 @@ The table below provides examples of runtime expressions and examples of their u
20282028##### <a name="runtimeExpressionExamples"></a>Examples
20292029
20302030Source Location | example expression | notes
2031- ---|:---|:---|:---
2031+ ---|:---|:---|
20322032HTTP Method | `$method` | The allowable values for the `$method` will be those for the HTTP operation
20332033Requested media type | `$request.header.accept` |
20342034Request 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