-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add twitter_username to Person and bio and hireable to User
- Loading branch information
Showing
6 changed files
with
111 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...s/org/kohsuke/github/GHUserTest/wiremock/verifyBioAndHireable/__files/users_github-1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"login": "github", | ||
"id": 9919, | ||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/github", | ||
"html_url": "https://github.com/github", | ||
"followers_url": "https://api.github.com/users/github/followers", | ||
"following_url": "https://api.github.com/users/github/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/github/subscriptions", | ||
"organizations_url": "https://api.github.com/users/github/orgs", | ||
"repos_url": "https://api.github.com/users/github/repos", | ||
"events_url": "https://api.github.com/users/github/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/github/received_events", | ||
"type": "Organization", | ||
"site_admin": false, | ||
"name": "GitHub", | ||
"company": null, | ||
"blog": "https://github.com/about", | ||
"location": "San Francisco, CA", | ||
"email": "[email protected]", | ||
"hireable": null, | ||
"bio": "How people build software.", | ||
"twitter_username": null, | ||
"public_repos": 346, | ||
"public_gists": 0, | ||
"followers": 0, | ||
"following": 0, | ||
"created_at": "2008-05-11T04:37:31Z", | ||
"updated_at": "2020-02-07T13:08:07Z" | ||
} |
42 changes: 42 additions & 0 deletions
42
.../org/kohsuke/github/GHUserTest/wiremock/verifyBioAndHireable/mappings/users_github-1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"id": "b0a81aff-fa31-4f8a-8934-5816b7db5d28", | ||
"name": "users_github", | ||
"request": { | ||
"url": "/users/GitHub", | ||
"method": "GET", | ||
"headers": { | ||
"Accept": { | ||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" | ||
} | ||
} | ||
}, | ||
"response": { | ||
"status": 200, | ||
"bodyFileName": "users_github-1.json", | ||
"headers": { | ||
"server": "GitHub.com", | ||
"date": "Sun, 07 Jun 2020 05:50:33 GMT", | ||
"content-type": "application/json; charset=utf-8", | ||
"status": "200 OK", | ||
"cache-control": "public, max-age=60, s-maxage=60", | ||
"vary": "Accept, Accept-Encoding, Accept, X-Requested-With", | ||
"etag": "W/\"98a98fb1f7b75195fb721356df6181b5\"", | ||
"last-modified": "Fri, 07 Feb 2020 13:08:07 GMT", | ||
"x-github-media-type": "unknown, github.v3", | ||
"strict-transport-security": "max-age=31536000; includeSubdomains; preload", | ||
"x-frame-options": "deny", | ||
"x-content-type-options": "nosniff", | ||
"x-xss-protection": "1; mode=block", | ||
"referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin", | ||
"content-security-policy": "default-src 'none'", | ||
"X-Ratelimit-Limit": "60", | ||
"X-Ratelimit-Remaining": "50", | ||
"X-Ratelimit-Reset": "1591510189", | ||
"Accept-Ranges": "bytes", | ||
"X-GitHub-Request-Id": "C067:2C3F:70CA28:11A5488:5EDC8029" | ||
} | ||
}, | ||
"uuid": "b0a81aff-fa31-4f8a-8934-5816b7db5d28", | ||
"persistent": true, | ||
"insertionIndex": 1 | ||
} |