That would translate to:
paths:
/2.0/repositories/{username}:
get:
MODIFY
versions/3.0.md
versions/3.0.md
@@ -2069,7 +2069,7 @@ value), references MAY also be made through a relative `operationRef`:
links:
UserRepositories:
# returns array of '#/components/schemas/repository'
- operationRef: '#/paths/~12.0~1repositories~1/{username}/get'
+ operationRef: '#/paths/~12.0~1repositories~1{username}/get'
parameters:
username: $response.body#/username
```

That would translate to:

paths:
  /2.0/repositories/{username}:
    get: