File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2136,7 +2136,7 @@ field in an [Operation Object](#operationObject)), references MAY also be made t
2136
2136
links:
2137
2137
UserRepositories:
2138
2138
# returns array of '#/components/schemas/repository'
2139
- operationRef: '#/paths/~12.0~1repositories~1{username} /get'
2139
+ operationRef: '#/paths/~12.0~1repositories~1%7Busername%7D /get'
2140
2140
parameters:
2141
2141
username: $response.body#/username
2142
2142
` ` `
@@ -2147,13 +2147,13 @@ or an absolute `operationRef`:
2147
2147
links:
2148
2148
UserRepositories:
2149
2149
# returns array of '#/components/schemas/repository'
2150
- operationRef: https://na2.gigantic-server.com/#/paths/~12.0~1repositories~1{username} /get
2150
+ operationRef: https://na2.gigantic-server.com/#/paths/~12.0~1repositories~1%7Busername%7D /get
2151
2151
parameters:
2152
2152
username: $response.body#/username
2153
2153
` ` `
2154
2154
2155
2155
Note that in the use of `operationRef`, the _escaped forward-slash_ is necessary when
2156
- using JSON references .
2156
+ using JSON Pointer, and it is necessary to URL-encode `{` and `}` as `%7B` and `%7D`, respectively when using JSON Pointer as URI fragments .
2157
2157
2158
2158
2159
2159
# #### <a name="runtimeExpression"></a>Runtime Expressions
You can’t perform that action at this time.
0 commit comments