Skip to content

Commit 875ec9a

Browse files
author
Ron
authored
Merge pull request OAI#1336 from hkosova/fix-indents
Fix indents in the links example
2 parents e30d56c + 949c89c commit 875ec9a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

versions/3.0.1.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,13 +2018,13 @@ paths:
20182018
uuid: # the unique user id
20192019
type: string
20202020
format: uuid
2021-
links:
2022-
address:
2023-
# the target link operationId
2024-
operationId: getUserAddress
2025-
parameters:
2026-
# get the `id` field from the request path parameter named `id`
2027-
userId: $request.path.id
2021+
links:
2022+
address:
2023+
# the target link operationId
2024+
operationId: getUserAddress
2025+
parameters:
2026+
# get the `id` field from the request path parameter named `id`
2027+
userId: $request.path.id
20282028
# the path item of the linked operation
20292029
/users/{userid}/address:
20302030
parameters:
@@ -2034,12 +2034,12 @@ paths:
20342034
description: the user identifier, as userId
20352035
schema:
20362036
type: string
2037-
# linked operation
2038-
get:
2039-
operationId: getUserAddress
2040-
responses:
2041-
'200':
2042-
description: the user's address
2037+
# linked operation
2038+
get:
2039+
operationId: getUserAddress
2040+
responses:
2041+
'200':
2042+
description: the user's address
20432043
```
20442044
20452045
When a runtime expression fails to evaluate, no parameter value is passed to the target operation.

0 commit comments

Comments
 (0)