Skip to content

Commit 7a98540

Browse files
feat: remove template_repository, subscribers_count and network_count fields from the full-repository schema, add GHES 3.12, description updates (#79)
1 parent b960b50 commit 7a98540

File tree

31 files changed

+353166
-6153
lines changed

31 files changed

+353166
-6153
lines changed

cache/api.github.com.json

Lines changed: 9 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -19932,12 +19932,6 @@
1993219932
{ "$ref": "#/components/schemas/license-simple" }
1993319933
]
1993419934
},
19935-
"organization": {
19936-
"anyOf": [
19937-
{ "type": "null" },
19938-
{ "$ref": "#/components/schemas/simple-user" }
19939-
]
19940-
},
1994119935
"forks": { "type": "integer" },
1994219936
"permissions": {
1994319937
"type": "object",
@@ -20314,145 +20308,6 @@
2031420308
"type": "boolean",
2031520309
"examples": [true]
2031620310
},
20317-
"template_repository": {
20318-
"type": ["object", "null"],
20319-
"properties": {
20320-
"id": { "type": "integer" },
20321-
"node_id": { "type": "string" },
20322-
"name": { "type": "string" },
20323-
"full_name": { "type": "string" },
20324-
"owner": {
20325-
"type": "object",
20326-
"properties": {
20327-
"login": { "type": "string" },
20328-
"id": { "type": "integer" },
20329-
"node_id": { "type": "string" },
20330-
"avatar_url": { "type": "string" },
20331-
"gravatar_id": { "type": "string" },
20332-
"url": { "type": "string" },
20333-
"html_url": { "type": "string" },
20334-
"followers_url": { "type": "string" },
20335-
"following_url": { "type": "string" },
20336-
"gists_url": { "type": "string" },
20337-
"starred_url": { "type": "string" },
20338-
"subscriptions_url": { "type": "string" },
20339-
"organizations_url": { "type": "string" },
20340-
"repos_url": { "type": "string" },
20341-
"events_url": { "type": "string" },
20342-
"received_events_url": { "type": "string" },
20343-
"type": { "type": "string" },
20344-
"site_admin": { "type": "boolean" }
20345-
}
20346-
},
20347-
"private": { "type": "boolean" },
20348-
"html_url": { "type": "string" },
20349-
"description": { "type": "string" },
20350-
"fork": { "type": "boolean" },
20351-
"url": { "type": "string" },
20352-
"archive_url": { "type": "string" },
20353-
"assignees_url": { "type": "string" },
20354-
"blobs_url": { "type": "string" },
20355-
"branches_url": { "type": "string" },
20356-
"collaborators_url": { "type": "string" },
20357-
"comments_url": { "type": "string" },
20358-
"commits_url": { "type": "string" },
20359-
"compare_url": { "type": "string" },
20360-
"contents_url": { "type": "string" },
20361-
"contributors_url": { "type": "string" },
20362-
"deployments_url": { "type": "string" },
20363-
"downloads_url": { "type": "string" },
20364-
"events_url": { "type": "string" },
20365-
"forks_url": { "type": "string" },
20366-
"git_commits_url": { "type": "string" },
20367-
"git_refs_url": { "type": "string" },
20368-
"git_tags_url": { "type": "string" },
20369-
"git_url": { "type": "string" },
20370-
"issue_comment_url": { "type": "string" },
20371-
"issue_events_url": { "type": "string" },
20372-
"issues_url": { "type": "string" },
20373-
"keys_url": { "type": "string" },
20374-
"labels_url": { "type": "string" },
20375-
"languages_url": { "type": "string" },
20376-
"merges_url": { "type": "string" },
20377-
"milestones_url": { "type": "string" },
20378-
"notifications_url": { "type": "string" },
20379-
"pulls_url": { "type": "string" },
20380-
"releases_url": { "type": "string" },
20381-
"ssh_url": { "type": "string" },
20382-
"stargazers_url": { "type": "string" },
20383-
"statuses_url": { "type": "string" },
20384-
"subscribers_url": { "type": "string" },
20385-
"subscription_url": { "type": "string" },
20386-
"tags_url": { "type": "string" },
20387-
"teams_url": { "type": "string" },
20388-
"trees_url": { "type": "string" },
20389-
"clone_url": { "type": "string" },
20390-
"mirror_url": { "type": "string" },
20391-
"hooks_url": { "type": "string" },
20392-
"svn_url": { "type": "string" },
20393-
"homepage": { "type": "string" },
20394-
"language": { "type": "string" },
20395-
"forks_count": { "type": "integer" },
20396-
"stargazers_count": { "type": "integer" },
20397-
"watchers_count": { "type": "integer" },
20398-
"size": { "type": "integer" },
20399-
"default_branch": { "type": "string" },
20400-
"open_issues_count": { "type": "integer" },
20401-
"is_template": { "type": "boolean" },
20402-
"topics": { "type": "array", "items": { "type": "string" } },
20403-
"has_issues": { "type": "boolean" },
20404-
"has_projects": { "type": "boolean" },
20405-
"has_wiki": { "type": "boolean" },
20406-
"has_pages": { "type": "boolean" },
20407-
"has_downloads": { "type": "boolean" },
20408-
"archived": { "type": "boolean" },
20409-
"disabled": { "type": "boolean" },
20410-
"visibility": { "type": "string" },
20411-
"pushed_at": { "type": "string" },
20412-
"created_at": { "type": "string" },
20413-
"updated_at": { "type": "string" },
20414-
"permissions": {
20415-
"type": "object",
20416-
"properties": {
20417-
"admin": { "type": "boolean" },
20418-
"maintain": { "type": "boolean" },
20419-
"push": { "type": "boolean" },
20420-
"triage": { "type": "boolean" },
20421-
"pull": { "type": "boolean" }
20422-
}
20423-
},
20424-
"allow_rebase_merge": { "type": "boolean" },
20425-
"temp_clone_token": { "type": "string" },
20426-
"allow_squash_merge": { "type": "boolean" },
20427-
"allow_auto_merge": { "type": "boolean" },
20428-
"delete_branch_on_merge": { "type": "boolean" },
20429-
"allow_update_branch": { "type": "boolean" },
20430-
"use_squash_pr_title_as_default": { "type": "boolean" },
20431-
"squash_merge_commit_title": {
20432-
"type": "string",
20433-
"enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"],
20434-
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
20435-
},
20436-
"squash_merge_commit_message": {
20437-
"type": "string",
20438-
"enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"],
20439-
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
20440-
},
20441-
"merge_commit_title": {
20442-
"type": "string",
20443-
"enum": ["PR_TITLE", "MERGE_MESSAGE"],
20444-
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
20445-
},
20446-
"merge_commit_message": {
20447-
"type": "string",
20448-
"enum": ["PR_BODY", "PR_TITLE", "BLANK"],
20449-
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
20450-
},
20451-
"allow_merge_commit": { "type": "boolean" },
20452-
"subscribers_count": { "type": "integer" },
20453-
"network_count": { "type": "integer" }
20454-
}
20455-
},
2045620311
"temp_clone_token": { "type": "string" },
2045720312
"allow_squash_merge": {
2045820313
"description": "Whether to allow squash merges for pull requests.",
@@ -20519,8 +20374,6 @@
2051920374
"default": false,
2052020375
"type": "boolean"
2052120376
},
20522-
"subscribers_count": { "type": "integer" },
20523-
"network_count": { "type": "integer" },
2052420377
"open_issues": { "type": "integer" },
2052520378
"watchers": { "type": "integer" },
2052620379
"master_branch": { "type": "string" },
@@ -36598,6 +36451,10 @@
3659836451
"description": "The GitHub Pages deployment status.",
3659936452
"type": "object",
3660036453
"properties": {
36454+
"id": {
36455+
"oneOf": [{ "type": "integer" }, { "type": "string" }],
36456+
"description": "The ID of the GitHub Pages deployment. This is the Git SHA of the deployed commit."
36457+
},
3660136458
"status_url": {
3660236459
"type": "string",
3660336460
"description": "The URI to monitor GitHub Pages deployment status.",
@@ -36619,7 +36476,7 @@
3661936476
"examples": ["monalisa-1231a2312sa32-23sda74.drafts.github.io"]
3662036477
}
3662136478
},
36622-
"required": ["status_url", "page_url"]
36479+
"required": ["id", "status_url", "page_url"]
3662336480
},
3662436481
"pages-deployment-status": {
3662536482
"title": "GitHub Pages deployment status",
@@ -123349,7 +123206,7 @@
123349123206
"type": "object",
123350123207
"properties": {
123351123208
"added": {
123352-
"description": "An array of files added in the commit.",
123209+
"description": "An array of files added in the commit. A maximum of 3000 changed files will be reported per commit.",
123353123210
"type": "array",
123354123211
"items": { "type": "string" }
123355123212
},
@@ -123393,12 +123250,12 @@
123393123250
"type": "string"
123394123251
},
123395123252
"modified": {
123396-
"description": "An array of files modified by the commit.",
123253+
"description": "An array of files modified by the commit. A maximum of 3000 changed files will be reported per commit.",
123397123254
"type": "array",
123398123255
"items": { "type": "string" }
123399123256
},
123400123257
"removed": {
123401-
"description": "An array of files removed in the commit.",
123258+
"description": "An array of files removed in the commit. A maximum of 3000 changed files will be reported per commit.",
123402123259
"type": "array",
123403123260
"items": { "type": "string" }
123404123261
},
@@ -154068,6 +153925,7 @@
154068153925
},
154069153926
"page-deployment": {
154070153927
"value": {
153928+
"id": "4fd754f7e594640989b406850d0bc8f06a121251",
154071153929
"status_url": "https://api.github.com/repos/github/developer.github.com/pages/deployments/4fd754f7e594640989b406850d0bc8f06a121251/status",
154072153930
"page_url": "developer.github.com"
154073153931
}

0 commit comments

Comments
 (0)