From 9aa5e96980a55d5d1517726e65566b46492964fb Mon Sep 17 00:00:00 2001 From: semonte Date: Mon, 28 Aug 2017 10:01:05 +0200 Subject: [PATCH] Moved 'links' object to response object Updated the link object example. According to the specification, 'links' should be inside of a response object. --- versions/3.0.0.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/versions/3.0.0.md b/versions/3.0.0.md index 30a041ad84..9f4793c89e 100644 --- a/versions/3.0.0.md +++ b/versions/3.0.0.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: