From 949c89c1a89a1ef1f10f995bce931e71f0cfe8e0 Mon Sep 17 00:00:00 2001 From: Helen Kosova Date: Wed, 23 Aug 2017 10:36:32 +0300 Subject: [PATCH] Fix indents in the links example --- versions/3.0.1.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/versions/3.0.1.md b/versions/3.0.1.md index 906c1f96c1..f600999513 100644 --- a/versions/3.0.1.md +++ b/versions/3.0.1.md @@ -2018,13 +2018,13 @@ paths: uuid: # the unique user id type: string format: uuid - links: - address: - # the target link operationId - operationId: getUserAddress - parameters: - # get the `id` field from the request path parameter named `id` - userId: $request.path.id + links: + address: + # the target link operationId + operationId: getUserAddress + parameters: + # get the `id` field from the request path parameter named `id` + userId: $request.path.id # the path item of the linked operation /users/{userid}/address: parameters: @@ -2034,12 +2034,12 @@ paths: description: the user identifier, as userId schema: type: string - # linked operation - get: - operationId: getUserAddress - responses: - '200': - description: the user's address + # linked operation + get: + operationId: getUserAddress + responses: + '200': + description: the user's address ``` When a runtime expression fails to evaluate, no parameter value is passed to the target operation.