From 845dca56ad268d32e4d6c48014ff40e229831cce Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Tue, 7 Mar 2017 17:03:12 -0800 Subject: [PATCH 1/2] updated example issues --- versions/3.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/versions/3.0.md b/versions/3.0.md index 66610d5c4f..dc6f530502 100644 --- a/versions/3.0.md +++ b/versions/3.0.md @@ -2149,8 +2149,8 @@ paths: description: a pull request object content: application/json: - schema: - $ref: '#/components/schemas/pullrequest' + schema: + $ref: '#/components/schemas/pullrequest' links: $ref: '#/components/links/PullRequestMerge' /2.0/repositories/{username}/{slug}/pullrequests/{pid}/merge: @@ -2191,7 +2191,7 @@ components: RepositoryPullRequests: # returns '#/components/schemas/pullrequest' operationId: getPullRequestsByRepository - params: + parameters: username: $response.body#/owner/username slug: $response.body#/slug PullRequestMerge: From 996936cff1fe821a409bee63e2ec018ccb73de33 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Tue, 7 Mar 2017 17:10:38 -0800 Subject: [PATCH 2/2] removed extra hash --- versions/3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/3.0.md b/versions/3.0.md index dc6f530502..24cc06ac6f 100644 --- a/versions/3.0.md +++ b/versions/3.0.md @@ -1853,7 +1853,7 @@ Field Pattern | Type | Description {name} | [Link Object](#linkObject) | [Reference Object](#referenceObject) | A short name for the link, following the naming constraints of the names for [Component Objects](#componentsObject). The link SHALL reference a single Link Object, or a JSON Reference to a single link object. -#### Link Object +#### Link Object The `Link Object` is responsible for defining a possible operation based on a single response. Field Name | Type | Description