Skip to content

Commit 5d2ec2f

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-165dc4edaf3899f8fa74f18ab70adbb6 from 1.1.4-7b81f53085c7eb703517cc9edd6bed5e
Detected Schema changes: starting work. Building original model for commit 579a5f SPEC: extracted 2 commits from history ``` ├─┬Paths │ ├─┬/repos/{owner}/{repo}/tags/protection │ │ ├─┬GET │ │ │ ├──[🔀] summary (37665:16) │ │ │ ├──[🔀] description (37666:20) │ │ │ ├──[➖] deprecated (37703:19) │ │ │ ├─┬External Docs │ │ │ │ └──[🔀] url (37675:14) │ │ │ └─┬Extensions │ │ │ └──[🔀] x-github (37696:9) │ │ └─┬POST │ │ ├──[🔀] summary (37701:16) │ │ ├──[🔀] description (37702:20) │ │ ├──[➖] deprecated (37759:19) │ │ ├─┬External Docs │ │ │ └──[🔀] url (37710:14) │ │ └─┬Extensions │ │ └──[🔀] x-github (37746:9) │ ├─┬/repos/{owner}/{repo}/tags/protection/{tag_protection_id} │ │ └─┬DELETE │ │ ├──[🔀] summary (37752:16) │ │ ├──[🔀] description (37753:20) │ │ ├──[➖] deprecated (37793:19) │ │ ├─┬External Docs │ │ │ └──[🔀] url (37761:14) │ │ └─┬Extensions │ │ └──[🔀] x-github (37774:9) │ ├─┬/enterprises/{enterprise}/copilot/usage │ │ └─┬GET │ │ └──[🔀] description (1437:20) │ └─┬/orgs/{org}/copilot/usage │ └─┬GET │ └──[🔀] description (7057:20) └─┬Components └─┬webhook-fork └─┬forkee ├─┬ALLOF │ ├──[➖] required (108167:15)❌ │ ├──[➖] required (108170:15)❌ │ ├──[➖] required (108172:15)❌ │ ├──[➖] required (108176:15)❌ │ ├──[➖] required (108216:15)❌ │ ├──[➖] required (108221:15)❌ │ ├──[➖] required (108224:15)❌ │ ├──[➖] required (108154:15)❌ │ ├──[➖] required (108169:15)❌ │ ├──[➖] required (108183:15)❌ │ ├──[➖] required (108191:15)❌ │ ├──[➖] required (108195:15)❌ │ ├──[➖] required (108217:15)❌ │ ├──[➖] required (108158:15)❌ │ ├──[➖] required (108171:15)❌ │ ├──[➖] required (108196:15)❌ │ ├──[➖] required (108200:15)❌ │ ├──[➖] required (108156:15)❌ │ ├──[➖] required (108193:15)❌ │ ├──[➖] required (108197:15)❌ │ ├──[➖] required (108202:15)❌ │ ├──[➖] required (108207:15)❌ │ ├──[➖] required (108165:15)❌ │ ├──[➖] required (108190:15)❌ │ ├──[➖] required (108225:15)❌ │ ├──[➖] required (108152:15)❌ │ ├──[➖] required (108175:15)❌ │ ├──[➖] required (108208:15)❌ │ ├──[➖] required (108209:15)❌ │ ├──[➖] required (108173:15)❌ │ ├──[➖] required (108184:15)❌ │ ├──[➖] required (108198:15)❌ │ ├──[➖] required (108212:15)❌ │ ├──[➖] required (108159:15)❌ │ ├──[➖] required (108161:15)❌ │ ├──[➖] required (108174:15)❌ │ ├──[➖] required (108181:15)❌ │ ├──[➖] required (108187:15)❌ │ ├──[➖] required (108201:15)❌ │ ├──[➖] required (108203:15)❌ │ ├──[➖] required (108160:15)❌ │ ├──[➖] required (108162:15)❌ │ ├──[➖] required (108210:15)❌ │ ├──[➖] required (108213:15)❌ │ ├──[➖] required (108194:15)❌ │ ├──[➖] required (108188:15)❌ │ ├──[➖] required (108205:15)❌ │ ├──[➖] required (108220:15)❌ │ ├──[➖] required (108222:15)❌ │ ├──[➖] required (108153:15)❌ │ ├──[➖] required (108164:15)❌ │ ├──[➖] required (108168:15)❌ │ ├──[➖] required (108180:15)❌ │ ├──[➖] required (108189:15)❌ │ ├──[➖] required (108192:15)❌ │ ├──[➖] required (108199:15)❌ │ ├──[➖] required (108155:15)❌ │ ├──[➖] required (108166:15)❌ │ ├──[➖] required (108185:15)❌ │ ├──[➖] required (108186:15)❌ │ ├──[➖] required (108206:15)❌ │ ├──[➖] required (108211:15)❌ │ ├──[➖] required (108214:15)❌ │ ├──[➖] required (108219:15)❌ │ ├──[➖] required (108179:15)❌ │ ├──[➖] required (108178:15)❌ │ ├──[➖] required (108182:15)❌ │ ├──[➖] required (108204:15)❌ │ ├──[➖] required (108223:15)❌ │ ├──[➖] required (108177:15)❌ │ ├──[➖] required (108163:15)❌ │ ├──[➖] required (108215:15)❌ │ ├──[➖] required (108218:15)❌ │ ├──[➖] required (108157:15)❌ │ ├──[➖] title (107764:20) │ ├──[➖] description (107765:26) │ ├──[➖] properties (107768:15)❌ │ ├──[➖] properties (107775:15)❌ │ ├──[➖] properties (107779:15)❌ │ ├──[➖] properties (107783:15)❌ │ ├──[➖] properties (107787:15)❌ │ ├──[➖] properties (107834:15)❌ │ ├──[➖] properties (107958:15)❌ │ ├──[➖] properties (107983:15)❌ │ ├──[➖] properties (108054:15)❌ │ ├──[➖] properties (108091:15)❌ │ ├──[➖] properties (108099:15)❌ │ ├──[➖] properties (108147:15)❌ │ ├─┬teams_url │ │ └──[➖] format (108123:25)❌ │ ├─┬blobs_url │ │ └──[➖] format (107801:25)❌ │ ├─┬default_branch │ │ └──[➖] description (107832:30) │ ├─┬has_projects │ │ ├──[➖] description (107889:30) │ │ └──[➖] default (107891:26)❌ │ ├─┬issue_comment_url │ │ └──[➖] format (107913:25)❌ │ ├─┬tags_url │ │ └──[➖] format (108120:25)❌ │ ├─┬visibility │ │ ├──[➖] enum (108140:19)❌ │ │ ├──[➖] enum (108141:19)❌ │ │ └──[➖] enum (108142:19)❌ │ ├─┬events_url │ │ └──[➖] format (107854:25)❌ │ ├─┬html_url │ │ └──[➖] format (107905:25)❌ │ ├─┬releases_url │ │ └──[➖] format (108090:25)❌ │ ├─┬svn_url │ │ └──[➖] format (108117:25)❌ │ ├─┬updated_at │ │ └──[➖] format (108133:25)❌ │ ├─┬subscribers_url │ │ └──[➖] format (108111:25)❌ │ ├─┬owner │ │ ├──[➖] required (108052:19)❌ │ │ ├──[➖] required (108053:19)❌ │ │ ├──[🔀] type (108339:23)❌ │ │ ├──[➖] title (107986:24) │ │ ├──[➖] properties (107994:19)❌ │ │ ├──[➖] properties (107996:19)❌ │ │ ├──[➖] properties (108021:19)❌ │ │ ├─┬events_url │ │ │ └──[➖] format (108002:29)❌ │ │ ├─┬followers_url │ │ │ └──[➖] format (108005:29)❌ │ │ ├─┬following_url │ │ │ └──[➖] format (108008:29)❌ │ │ ├─┬gists_url │ │ │ └──[➖] format (108011:29)❌ │ │ ├─┬organizations_url │ │ │ └──[➖] format (108027:29)❌ │ │ ├─┬received_events_url │ │ │ └──[➖] format (108030:29)❌ │ │ ├─┬repos_url │ │ │ └──[➖] format (108033:29)❌ │ │ ├─┬starred_url │ │ │ └──[➖] format (108038:29)❌ │ │ ├─┬subscriptions_url │ │ │ └──[➖] format (108041:29)❌ │ │ ├─┬avatar_url │ │ │ └──[➖] format (107993:29)❌ │ │ ├─┬html_url │ │ │ └──[➖] format (108016:29)❌ │ │ ├─┬type │ │ │ ├──[➖] enum (108045:23)❌ │ │ │ ├──[➖] enum (108046:23)❌ │ │ │ └──[➖] enum (108047:23)❌ │ │ └─┬url │ │ └──[➖] format (108050:29)❌ │ ├─┬topics │ │ └─┬Schema │ │ └──[🔀] type (108411:19)❌ │ ├─┬deployments_url │ │ └──[➖] format (107841:25)❌ │ ├─┬disabled │ │ └──[➖] description (107847:30) │ ├─┬hooks_url │ │ └──[➖] format (107902:25)❌ │ ├─┬labels_url │ │ └──[➖] format (107925:25)❌ │ ├─┬private │ │ └──[➖] description (108072:30) │ ├─┬id │ │ └──[➖] description (107907:30) │ ├─┬issues_url │ │ └──[➖] format (107919:25)❌ │ ├─┬fork │ │ └──[➕] enum (108263:19) │ ├─┬git_refs_url │ │ └──[➖] format (107871:25)❌ │ ├─┬license │ │ ├──[➖] required (107953:19)❌ │ │ ├──[➖] required (107954:19)❌ │ │ ├──[➖] required (107955:19)❌ │ │ ├──[➖] required (107956:19)❌ │ │ ├──[➖] required (107957:19)❌ │ │ ├──[➖] title (107934:24) │ │ ├──[➖] properties (107939:19)❌ │ │ ├──[➖] properties (107941:19)❌ │ │ ├──[➖] properties (107943:19)❌ │ │ ├──[➖] properties (107945:19)❌ │ │ └──[➖] properties (107947:19)❌ │ ├─┬archived │ │ ├──[➖] description (107793:30) │ │ └──[➖] default (107795:26)❌ │ ├─┬branches_url │ │ └──[➖] format (107804:25)❌ │ ├─┬compare_url │ │ └──[➖] format (107819:25)❌ │ ├─┬downloads_url │ │ └──[➖] format (107851:25)❌ │ ├─┬issue_events_url │ │ └──[➖] format (107916:25)❌ │ ├─┬trees_url │ │ └──[➖] format (108130:25)❌ │ ├─┬archive_url │ │ └──[➖] format (107791:25)❌ │ ├─┬forks_url │ │ └──[➖] format (107863:25)❌ │ ├─┬git_commits_url │ │ └──[➖] format (107868:25)❌ │ ├─┬keys_url │ │ └──[➖] format (107922:25)❌ │ ├─┬pushed_at │ │ ├──[🔀] type (108384:23)❌ │ │ ├──[➖] oneOf (108081:19)❌ │ │ └──[➖] oneOf (108082:19)❌ │ ├─┬has_downloads │ │ ├──[➖] description (107879:30) │ │ └──[➖] default (107881:26)❌ │ ├─┬mirror_url │ │ ├──[🔀] type (108327:17)❌ │ │ └──[➖] format (107970:25)❌ │ ├─┬notifications_url │ │ └──[➖] format (107978:25)❌ │ ├─┬stargazers_url │ │ └──[➖] format (108105:25)❌ │ ├─┬has_wiki │ │ ├──[➖] description (107893:30) │ │ └──[➖] default (107895:26)❌ │ ├─┬merges_url │ │ └──[➖] format (107962:25)❌ │ ├─┬statuses_url │ │ └──[➖] format (108108:25)❌ │ ├─┬allow_forking │ │ └──[➖] description (107773:30) │ ├─┬collaborators_url │ │ └──[➖] format (107810:25)❌ │ ├─┬comments_url │ │ └──[➖] format (107813:25)❌ │ ├─┬has_issues │ │ ├──[➖] description (107883:30) │ │ └──[➖] default (107885:26)❌ │ ├─┬commits_url │ │ └──[➖] format (107816:25)❌ │ ├─┬pulls_url │ │ └──[➖] format (108078:25)❌ │ ├─┬subscription_url │ │ └──[➖] format (108114:25)❌ │ ├─┬contents_url │ │ └──[➖] format (107822:25)❌ │ ├─┬created_at │ │ ├──[➕] type (108245:23)❌ │ │ ├──[➖] oneOf (107828:19)❌ │ │ └──[➖] oneOf (107829:19)❌ │ ├─┬git_tags_url │ │ └──[➖] format (107874:25)❌ │ ├─┬language │ │ └──[🔀] type (108314:17)❌ │ ├─┬clone_url │ │ └──[➖] format (107807:25)❌ │ ├─┬git_url │ │ └──[➖] format (107877:25)❌ │ ├─┬url │ │ └──[➖] format (108136:25)❌ │ ├─┬assignees_url │ │ └──[➖] format (107798:25)❌ │ ├─┬contributors_url │ │ └──[➖] format (107825:25)❌ │ ├─┬languages_url │ │ └──[➖] format (107932:25)❌ │ ├─┬name │ │ └──[➖] description (107972:30) │ └─┬milestones_url │ └──[➖] format (107965:25)❌ └─┬ALLOF ├──[➕] required (108166:15)❌ ├──[➕] required (108191:15)❌ ├──[➕] required (108144:15)❌ ├──[➕] required (108149:15)❌ ├──[➕] required (108164:15)❌ ├──[➕] required (108156:15)❌ ├──[➕] required (108183:15)❌ ├──[➕] required (108187:15)❌ ├──[➕] required (108203:15)❌ ├──[➕] required (108143:15)❌ ├──[➕] required (108147:15)❌ ├──[➕] required (108168:15)❌ ├──[➕] required (108208:15)❌ ├──[➕] required (108145:15)❌ ├──[➕] required (108181:15)❌ ├──[➕] required (108200:15)❌ ├──[➕] required (108202:15)❌ ├──[➕] required (108209:15)❌ ├──[➕] required (108215:15)❌ ├──[➕] required (108153:15)❌ ├──[➕] required (108174:15)❌ ├──[➕] required (108175:15)❌ ├──[➕] required (108160:15)❌ ├──[➕] required (108171:15)❌ ├──[➕] required (108186:15)❌ ├──[➕] required (108195:15)❌ ├──[➕] required (108142:15)❌ ├──[➕] required (108158:15)❌ ├──[➕] required (108159:15)❌ ├──[➕] required (108179:15)❌ ├──[➕] required (108146:15)❌ ├──[➕] required (108151:15)❌ ├──[➕] required (108176:15)❌ ├──[➕] required (108213:15)❌ ├──[➕] required (108173:15)❌ ├──[➕] required (108189:15)❌ ├──[➕] required (108201:15)❌ ├──[➕] required (108177:15)❌ ├──[➕] required (108178:15)❌ ├──[➕] required (108180:15)❌ ├──[➕] required (108182:15)❌ ├──[➕] required (108188:15)❌ ├──[➕] required (108161:15)❌ ├──[➕] required (108163:15)❌ ├──[➕] required (108169:15)❌ ├──[➕] required (108205:15)❌ ├──[➕] required (108210:15)❌ ├──[➕] required (108212:15)❌ ├──[➕] required (108192:15)❌ ├──[➕] required (108194:15)❌ ├──[➕] required (108197:15)❌ ├──[➕] required (108207:15)❌ ├──[➕] required (108214:15)❌ ├──[➕] required (108162:15)❌ ├──[➕] required (108167:15)❌ ├──[➕] required (108206:15)❌ ├──[➕] required (108199:15)❌ ├──[➕] required (108148:15)❌ ├──[➕] required (108154:15)❌ ├──[➕] required (108155:15)❌ ├──[➕] required (108157:15)❌ ├──[➕] required (108170:15)❌ ├──[➕] required (108198:15)❌ ├──[➕] required (108211:15)❌ ├──[➕] required (108190:15)❌ ├──[➕] required (108184:15)❌ ├──[➕] required (108185:15)❌ ├──[➕] required (108193:15)❌ ├──[➕] required (108196:15)❌ ├──[➕] required (108150:15)❌ ├──[➕] required (108165:15)❌ ├──[➕] required (108172:15)❌ ├──[➕] required (108152:15)❌ ├──[➕] required (108204:15)❌ ├──[➕] title (107748:20) ├──[➕] description (107749:26) ├──[➕] properties (107752:15) ├──[➕] properties (107759:15) ├──[➕] properties (107763:15) ├──[➕] properties (107767:15) ├──[➕] properties (107771:15) ├──[➕] properties (107815:15) ├──[➕] properties (107824:15) ├──[➕] properties (107948:15) ├──[➕] properties (107973:15) ├──[➕] properties (108044:15) ├──[➕] properties (108081:15) ├──[➕] properties (108089:15) ├──[➕] properties (108137:15) ├─┬keys_url │ └──[➕] format (107912:25)❌ ├─┬tags_url │ └──[➕] format (108110:25)❌ ├─┬topics │ └─┬Schema │ └──[🔀] type (108117:25)❌ ├─┬created_at │ ├──[➖] type (108255:23)❌ │ ├──[➕] oneOf (107812:19) │ └──[➕] oneOf (107813:19) ├─┬language │ └──[🔀] type (107918:17)❌ ├─┬releases_url │ └──[➕] format (108080:25)❌ ├─┬subscribers_url │ └──[➕] format (108101:25)❌ ├─┬has_downloads │ ├──[➕] description (107869:30) │ └──[➕] default (107871:26)❌ ├─┬hooks_url │ └──[➕] format (107892:25)❌ ├─┬owner │ ├──[➕] required (108042:19)❌ │ ├──[➕] required (108043:19)❌ │ ├──[🔀] type (107978:17)❌ │ ├──[➕] title (107976:24) │ ├──[➕] properties (107984:19) │ ├──[➕] properties (107986:19) │ ├──[➕] properties (108011:19) │ ├─┬avatar_url │ │ └──[➕] format (107983:29)❌ │ ├─┬received_events_url │ │ └──[➕] format (108020:29)❌ │ ├─┬subscriptions_url │ │ └──[➕] format (108031:29)❌ │ ├─┬type │ │ ├──[➕] enum (108036:23) │ │ ├──[➕] enum (108037:23) │ │ └──[➕] enum (108035:23) │ ├─┬events_url │ │ └──[➕] format (107992:29)❌ │ ├─┬followers_url │ │ └──[➕] format (107995:29)❌ │ ├─┬following_url │ │ └──[➕] format (107998:29)❌ │ ├─┬gists_url │ │ └──[➕] format (108001:29)❌ │ ├─┬html_url │ │ └──[➕] format (108006:29)❌ │ ├─┬organizations_url │ │ └──[➕] format (108017:29)❌ │ ├─┬repos_url │ │ └──[➕] format (108023:29)❌ │ ├─┬starred_url │ │ └──[➕] format (108028:29)❌ │ └─┬url │ └──[➕] format (108040:29)❌ ├─┬clone_url │ └──[➕] format (107791:25)❌ ├─┬comments_url │ └──[➕] format (107797:25)❌ ├─┬contributors_url │ └──[➕] format (107809:25)❌ ├─┬forks_url │ └──[➕] format (107853:25)❌ ├─┬git_tags_url │ └──[➕] format (107864:25)❌ ├─┬has_wiki │ ├──[➕] description (107883:30) │ └──[➕] default (107885:26)❌ ├─┬mirror_url │ ├──[🔀] type (107958:17)❌ │ └──[➕] format (107960:25)❌ ├─┬events_url │ └──[➕] format (107844:25)❌ ├─┬fork │ └──[➖] enum (108273:19)❌ ├─┬milestones_url │ └──[➕] format (107955:25)❌ ├─┬archive_url │ └──[➕] format (107775:25)❌ ├─┬downloads_url │ └──[➕] format (107841:25)❌ ├─┬git_commits_url │ └──[➕] format (107858:25)❌ ├─┬license │ ├──[➕] required (107943:19)❌ │ ├──[➕] required (107944:19)❌ │ ├──[➕] required (107945:19)❌ │ ├──[➕] required (107946:19)❌ │ ├──[➕] required (107947:19)❌ │ ├──[➕] title (107924:24) │ ├──[➕] properties (107929:19) │ ├──[➕] properties (107931:19) │ ├──[➕] properties (107933:19) │ ├──[➕] properties (107935:19) │ └──[➕] properties (107937:19) ├─┬notifications_url │ └──[➕] format (107968:25)❌ ├─┬deployments_url │ └──[➕] format (107831:25)❌ ├─┬git_refs_url │ └──[➕] format (107861:25)❌ ├─┬git_url │ └──[➕] format (107867:25)❌ ├─┬has_issues │ ├──[➕] description (107873:30) │ └──[➕] default (107875:26)❌ ├─┬url │ └──[➕] format (108126:25)❌ ├─┬visibility │ ├──[➕] enum (108132:19) │ ├──[➕] enum (108130:19) │ └──[➕] enum (108131:19) ├─┬archived │ ├──[➕] description (107777:30) │ └──[➕] default (107779:26)❌ ├─┬compare_url │ └──[➕] format (107803:25)❌ ├─┬issue_events_url │ └──[➕] format (107906:25)❌ ├─┬trees_url │ └──[➕] format (108120:25)❌ ├─┬contents_url │ └──[➕] format (107806:25)❌ ├─┬teams_url │ └──[➕] format (108113:25)❌ ├─┬name │ └──[➕] description (107962:30) ├─┬pushed_at │ ├──[🔀] type (108075:17)❌ │ ├──[➕] oneOf (108071:19) │ └──[➕] oneOf (108072:19) ├─┬stargazers_url │ └──[➕] format (108095:25)❌ ├─┬allow_forking │ └──[➕] description (107757:30) ├─┬blobs_url │ └──[➕] format (107785:25)❌ ├─┬branches_url │ └──[➕] format (107788:25)❌ ├─┬collaborators_url │ └──[➕] format (107794:25)❌ ├─┬id │ └──[➕] description (107897:30) ├─┬svn_url │ └──[➕] format (108107:25)❌ ├─┬html_url │ └──[➕] format (107895:25)❌ ├─┬default_branch │ └──[➕] description (107822:30) ├─┬disabled │ └──[➕] description (107837:30) ├─┬subscription_url │ └──[➕] format (108104:25)❌ ├─┬issue_comment_url │ └──[➕] format (107903:25)❌ ├─┬labels_url │ └──[➕] format (107915:25)❌ ├─┬statuses_url │ └──[➕] format (108098:25)❌ ├─┬commits_url │ └──[➕] format (107800:25)❌ ├─┬languages_url │ └──[➕] format (107922:25)❌ ├─┬merges_url │ └──[➕] format (107952:25)❌ ├─┬pulls_url │ └──[➕] format (108068:25)❌ ├─┬updated_at │ └──[➕] format (108123:25)❌ ├─┬assignees_url │ └──[➕] format (107782:25)❌ ├─┬has_projects │ ├──[➕] description (107879:30) │ └──[➕] default (107881:26)❌ ├─┬issues_url │ └──[➕] format (107909:25)❌ └─┬private └──[➕] description (108062:30) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 17 | 0 | | components | 387 | 650 | Date: 06/03/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _650_ out of _404_ - **Modifications**: _24_ - **Removals**: _191_ - **Additions**: _189_ - **Breaking Removals**: _173_ - **Breaking Modifications**: _10_ - **Breaking Additions**: _142_ ERROR: breaking changes discovered
1 parent 9b6dec8 commit 5d2ec2f

File tree

8 files changed

+45
-114
lines changed

8 files changed

+45
-114
lines changed

clients/GitHub/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21553,7 +21553,7 @@ You can find more about this operation over at the [API method documentation](ht
2155321553

2155421554
### repos/list-tag-protection
2155521555

21556-
List tag protection states for a repository
21556+
Deprecated - List tag protection states for a repository
2155721557

2155821558
Using the `call` method:
2155921559
```php
@@ -21570,12 +21570,12 @@ $client->operations()->repos()->listTagProtection( owner: 'generated',
2157021570
);
2157121571
```
2157221572

21573-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository).
21573+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository).
2157421574

2157521575

2157621576
### repos/create-tag-protection
2157721577

21578-
Create a tag protection state for a repository
21578+
Deprecated - Create a tag protection state for a repository
2157921579

2158021580
Using the `call` method:
2158121581
```php
@@ -21592,12 +21592,12 @@ $client->operations()->repos()->createTagProtection( owner: 'generated',
2159221592
);
2159321593
```
2159421594

21595-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository).
21595+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository).
2159621596

2159721597

2159821598
### repos/delete-tag-protection
2159921599

21600-
Delete a tag protection state for a repository
21600+
Deprecated - Delete a tag protection state for a repository
2160121601

2160221602
Using the `call` method:
2160321603
```php
@@ -21616,7 +21616,7 @@ $client->operations()->repos()->deleteTagProtection( owner: 'generated',
2161621616
);
2161721617
```
2161821618

21619-
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository).
21619+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository).
2162021620

2162121621

2162221622
### repos/download-tarball-archive

clients/GitHub/etc/openapi-client-generator.state

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "7b81f53085c7eb703517cc9edd6bed5e",
2+
"specHash": "165dc4edaf3899f8fa74f18ab70adbb6",
33
"generatedFiles": {
44
"files": [
55
{
@@ -1780,7 +1780,7 @@
17801780
},
17811781
{
17821782
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork.php",
1783-
"hash": "219d173d08eed559835d437d5e781949"
1783+
"hash": "149c23f333a44134601e9d7075e06671"
17841784
},
17851785
{
17861786
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookGithubAppAuthorizationRevoked.php",
@@ -3488,7 +3488,7 @@
34883488
},
34893489
{
34903490
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork\/Forkee.php",
3491-
"hash": "e1aa0765ec72888ffd864ec2417e748a"
3491+
"hash": "005633dcb3201975a6f12481234f7c3f"
34923492
},
34933493
{
34943494
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork\/Forkee\/License.php",
@@ -27236,7 +27236,7 @@
2723627236
},
2723727237
{
2723827238
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
27239-
"hash": "99249ec5532c0e46a08937acb5501da3"
27239+
"hash": "f8a62fdffbd42820e452155cf51ca62f"
2724027240
},
2724127241
{
2724227242
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php",
@@ -27782,10 +27782,6 @@
2778227782
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet822B8B83\/Tiet93E9FF34\/Tiet64571DFE\/Tiet4D2FA622.php",
2778327783
"hash": "04a6477eb2edebc4797b68dc827857e2"
2778427784
},
27785-
{
27786-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork\/Forkee\/CustomProperties.php",
27787-
"hash": "103d90f7b9368728a7cc4b2348bc9797"
27788-
},
2778927785
{
2779027786
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookIssuesOpened\/Changes\/OldRepository\/CustomProperties.php",
2779127787
"hash": "c80cb58f8a896af192bbf5644a78c021"
@@ -28236,7 +28232,7 @@
2823628232
},
2823728233
{
2823828234
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Fork.php",
28239-
"hash": "a967f1db50c975232fad5125c8964d5c"
28235+
"hash": "926cc24d71e6c029fb051ac43336576d"
2824028236
},
2824128237
{
2824228238
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/GithubAppAuthorization.php",

clients/GitHub/src/Internal/Hydrator/WebHook/Fork.php

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
use ApiClients\Client\GitHub\Schema\LicenseSimple;
99
use ApiClients\Client\GitHub\Schema\OrganizationSimpleWebhooks;
1010
use ApiClients\Client\GitHub\Schema\RepositoryWebhooks;
11+
use ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties;
1112
use ApiClients\Client\GitHub\Schema\RepositoryWebhooks\TemplateRepository;
1213
use ApiClients\Client\GitHub\Schema\SimpleInstallation;
1314
use ApiClients\Client\GitHub\Schema\SimpleUser;
1415
use ApiClients\Client\GitHub\Schema\SimpleUserWebhooks;
1516
use ApiClients\Client\GitHub\Schema\WebhookFork;
1617
use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee;
17-
use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties;
1818
use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\License;
1919
use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\Owner;
2020
use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\Permissions;
@@ -69,7 +69,6 @@ public function hydrateObject(string $className, array $payload): object
6969
'ApiClients\Client\GitHub\Schema\RepositoryWebhooks\TemplateRepository\Owner' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️TemplateRepository⚡️Owner($payload),
7070
'ApiClients\Client\GitHub\Schema\RepositoryWebhooks\TemplateRepository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️TemplateRepository⚡️Permissions($payload),
7171
'ApiClients\Client\GitHub\Schema\SimpleUserWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($payload),
72-
'ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties($payload),
7372
'ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️CustomProperties($payload),
7473
default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack),
7574
};
@@ -557,26 +556,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Webh
557556

558557
after_createdAt:
559558

560-
$value = $payload['custom_properties'] ?? null;
561-
562-
if ($value === null) {
563-
$properties['customProperties'] = null;
564-
goto after_customProperties;
565-
}
566-
567-
if (is_array($value)) {
568-
try {
569-
$this->hydrationStack[] = 'customProperties';
570-
$value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties($value);
571-
} finally {
572-
array_pop($this->hydrationStack);
573-
}
574-
}
575-
576-
$properties['customProperties'] = $value;
577-
578-
after_customProperties:
579-
580559
$value = $payload['default_branch'] ?? null;
581560

582561
if ($value === null) {
@@ -5106,13 +5085,13 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Simp
51065085
}
51075086
}
51085087

5109-
private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties(array $payload): CustomProperties
5088+
private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️CustomProperties(array $payload): CustomProperties
51105089
{
51115090
$properties = [];
51125091
$missingFields = [];
51135092
try {
51145093
} catch (Throwable $exception) {
5115-
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties', $exception, stack: $this->hydrationStack);
5094+
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties', $exception, stack: $this->hydrationStack);
51165095
}
51175096

51185097
if (count($missingFields) > 0) {
@@ -5121,26 +5100,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Webh
51215100

51225101
try {
51235102
return new CustomProperties(...$properties);
5124-
} catch (Throwable $exception) {
5125-
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties', $exception, stack: $this->hydrationStack);
5126-
}
5127-
}
5128-
5129-
private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️CustomProperties(array $payload): \ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties
5130-
{
5131-
$properties = [];
5132-
$missingFields = [];
5133-
try {
5134-
} catch (Throwable $exception) {
5135-
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties', $exception, stack: $this->hydrationStack);
5136-
}
5137-
5138-
if (count($missingFields) > 0) {
5139-
throw UnableToHydrateObject::dueToMissingFields(\ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties::class, $missingFields, stack: $this->hydrationStack);
5140-
}
5141-
5142-
try {
5143-
return new \ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties(...$properties);
51445103
} catch (Throwable $exception) {
51455104
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties', $exception, stack: $this->hydrationStack);
51465105
}
@@ -5452,15 +5411,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
54525411
$createdAt = $object->createdAt;
54535412
after_createdAt: $result['created_at'] = $createdAt;
54545413

5455-
$customProperties = $object->customProperties;
5456-
5457-
if ($customProperties === null) {
5458-
goto after_customProperties;
5459-
}
5460-
5461-
$customProperties = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties($customProperties);
5462-
after_customProperties: $result['custom_properties'] = $customProperties;
5463-
54645414
$defaultBranch = $object->defaultBranch;
54655415
after_defaultBranch: $result['default_branch'] = $defaultBranch;
54665416

0 commit comments

Comments
 (0)