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