From 5d2ec2f8d8ae347a156a79a7264806c81265d863 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:56:18 +0000 Subject: [PATCH] [GitHub] Update to 1.1.4-165dc4edaf3899f8fa74f18ab70adbb6 from 1.1.4-7b81f53085c7eb703517cc9edd6bed5e Detected Schema changes: starting work. Building original model for commit 579a5f MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- clients/GitHub/README.md | 12 ++-- .../GitHub/etc/openapi-client-generator.state | 14 ++--- .../src/Internal/Hydrator/WebHook/Fork.php | 56 +------------------ clients/GitHub/src/Internal/Hydrators.php | 4 +- clients/GitHub/src/Schema/WebhookFork.php | 6 -- .../GitHub/src/Schema/WebhookFork/Forkee.php | 10 +--- .../WebhookFork/Forkee/CustomProperties.php | 11 ---- etc/specs/GitHub/current.spec.yaml | 46 +++++++++------ 8 files changed, 45 insertions(+), 114 deletions(-) delete mode 100644 clients/GitHub/src/Schema/WebhookFork/Forkee/CustomProperties.php diff --git a/clients/GitHub/README.md b/clients/GitHub/README.md index cd29204cd8f..e798c5a67bd 100644 --- a/clients/GitHub/README.md +++ b/clients/GitHub/README.md @@ -21553,7 +21553,7 @@ You can find more about this operation over at the [API method documentation](ht ### repos/list-tag-protection -List tag protection states for a repository +Deprecated - List tag protection states for a repository Using the `call` method: ```php @@ -21570,12 +21570,12 @@ $client->operations()->repos()->listTagProtection( owner: 'generated', ); ``` -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). +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). ### repos/create-tag-protection -Create a tag protection state for a repository +Deprecated - Create a tag protection state for a repository Using the `call` method: ```php @@ -21592,12 +21592,12 @@ $client->operations()->repos()->createTagProtection( owner: 'generated', ); ``` -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). +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). ### repos/delete-tag-protection -Delete a tag protection state for a repository +Deprecated - Delete a tag protection state for a repository Using the `call` method: ```php @@ -21616,7 +21616,7 @@ $client->operations()->repos()->deleteTagProtection( owner: 'generated', ); ``` -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). +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). ### repos/download-tarball-archive diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index 5b8ef9cfbad..066fee79be5 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "7b81f53085c7eb703517cc9edd6bed5e", + "specHash": "165dc4edaf3899f8fa74f18ab70adbb6", "generatedFiles": { "files": [ { @@ -1780,7 +1780,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork.php", - "hash": "219d173d08eed559835d437d5e781949" + "hash": "149c23f333a44134601e9d7075e06671" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookGithubAppAuthorizationRevoked.php", @@ -3488,7 +3488,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork\/Forkee.php", - "hash": "e1aa0765ec72888ffd864ec2417e748a" + "hash": "005633dcb3201975a6f12481234f7c3f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork\/Forkee\/License.php", @@ -27236,7 +27236,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php", - "hash": "99249ec5532c0e46a08937acb5501da3" + "hash": "f8a62fdffbd42820e452155cf51ca62f" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php", @@ -27782,10 +27782,6 @@ "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet822B8B83\/Tiet93E9FF34\/Tiet64571DFE\/Tiet4D2FA622.php", "hash": "04a6477eb2edebc4797b68dc827857e2" }, - { - "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookFork\/Forkee\/CustomProperties.php", - "hash": "103d90f7b9368728a7cc4b2348bc9797" - }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookIssuesOpened\/Changes\/OldRepository\/CustomProperties.php", "hash": "c80cb58f8a896af192bbf5644a78c021" @@ -28236,7 +28232,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Fork.php", - "hash": "a967f1db50c975232fad5125c8964d5c" + "hash": "926cc24d71e6c029fb051ac43336576d" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/GithubAppAuthorization.php", diff --git a/clients/GitHub/src/Internal/Hydrator/WebHook/Fork.php b/clients/GitHub/src/Internal/Hydrator/WebHook/Fork.php index 6695f7a2733..e473c31b6c6 100644 --- a/clients/GitHub/src/Internal/Hydrator/WebHook/Fork.php +++ b/clients/GitHub/src/Internal/Hydrator/WebHook/Fork.php @@ -8,13 +8,13 @@ use ApiClients\Client\GitHub\Schema\LicenseSimple; use ApiClients\Client\GitHub\Schema\OrganizationSimpleWebhooks; use ApiClients\Client\GitHub\Schema\RepositoryWebhooks; +use ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties; use ApiClients\Client\GitHub\Schema\RepositoryWebhooks\TemplateRepository; use ApiClients\Client\GitHub\Schema\SimpleInstallation; use ApiClients\Client\GitHub\Schema\SimpleUser; use ApiClients\Client\GitHub\Schema\SimpleUserWebhooks; use ApiClients\Client\GitHub\Schema\WebhookFork; use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee; -use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties; use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\License; use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\Owner; use ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\Permissions; @@ -69,7 +69,6 @@ public function hydrateObject(string $className, array $payload): object 'ApiClients\Client\GitHub\Schema\RepositoryWebhooks\TemplateRepository\Owner' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️TemplateRepository⚡️Owner($payload), 'ApiClients\Client\GitHub\Schema\RepositoryWebhooks\TemplateRepository\Permissions' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️TemplateRepository⚡️Permissions($payload), 'ApiClients\Client\GitHub\Schema\SimpleUserWebhooks' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUserWebhooks($payload), - 'ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties($payload), 'ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties' => $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️CustomProperties($payload), default => throw UnableToHydrateObject::noHydrationDefined($className, $this->hydrationStack), }; @@ -557,26 +556,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Webh after_createdAt: - $value = $payload['custom_properties'] ?? null; - - if ($value === null) { - $properties['customProperties'] = null; - goto after_customProperties; - } - - if (is_array($value)) { - try { - $this->hydrationStack[] = 'customProperties'; - $value = $this->hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties($value); - } finally { - array_pop($this->hydrationStack); - } - } - - $properties['customProperties'] = $value; - - after_customProperties: - $value = $payload['default_branch'] ?? null; if ($value === null) { @@ -5106,13 +5085,13 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Simp } } - private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties(array $payload): CustomProperties + private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️CustomProperties(array $payload): CustomProperties { $properties = []; $missingFields = []; try { } catch (Throwable $exception) { - throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties', $exception, stack: $this->hydrationStack); + throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties', $exception, stack: $this->hydrationStack); } if (count($missingFields) > 0) { @@ -5121,26 +5100,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Webh try { return new CustomProperties(...$properties); - } catch (Throwable $exception) { - throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\WebhookFork\Forkee\CustomProperties', $exception, stack: $this->hydrationStack); - } - } - - private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️RepositoryWebhooks⚡️CustomProperties(array $payload): \ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties - { - $properties = []; - $missingFields = []; - try { - } catch (Throwable $exception) { - throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties', $exception, stack: $this->hydrationStack); - } - - if (count($missingFields) > 0) { - throw UnableToHydrateObject::dueToMissingFields(\ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties::class, $missingFields, stack: $this->hydrationStack); - } - - try { - return new \ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties(...$properties); } catch (Throwable $exception) { throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHub\Schema\RepositoryWebhooks\CustomProperties', $exception, stack: $this->hydrationStack); } @@ -5452,15 +5411,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema $createdAt = $object->createdAt; after_createdAt: $result['created_at'] = $createdAt; - $customProperties = $object->customProperties; - - if ($customProperties === null) { - goto after_customProperties; - } - - $customProperties = $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookFork⚡️Forkee⚡️CustomProperties($customProperties); - after_customProperties: $result['custom_properties'] = $customProperties; - $defaultBranch = $object->defaultBranch; after_defaultBranch: $result['default_branch'] = $defaultBranch; diff --git a/clients/GitHub/src/Internal/Hydrators.php b/clients/GitHub/src/Internal/Hydrators.php index 00cd3daa57a..e3a359f3386 100644 --- a/clients/GitHub/src/Internal/Hydrators.php +++ b/clients/GitHub/src/Internal/Hydrators.php @@ -968,7 +968,7 @@ public function hydrateObject(string $className, array $payload): object '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\CheckRun', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\PerformedViaGithubApp', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\PerformedViaGithubApp\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\PerformedViaGithubApp\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\PerformedViaGithubApp', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\PerformedViaGithubApp\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\PerformedViaGithubApp\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\Actor', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\HeadRepository', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\HeadRepository\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\Repository', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\Repository\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\TriggeringActor' => $this->getObjectMapperWebHook🪝DeploymentStatus()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionAnswered', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksAnswer', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksAnswer\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksAnswer\\User', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\AnswerChosenBy', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\Category', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged\\Changes\\Category', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged\\Changes\\Category\\From', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionClosed', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited\\Changes\\Body', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited\\Changes\\Title', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionLabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksLabel', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionLocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionPinned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionReopened', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionTransferred', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionTransferred\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnanswered', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnlabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnlocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnpinned' => $this->getObjectMapperWebHook🪝Discussion()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksComment\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksComment\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentEdited\\Changes\\Body' => $this->getObjectMapperWebHook🪝DiscussionComment()->hydrateObject($className, $payload), - '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\CustomProperties', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Permissions' => $this->getObjectMapperWebHook🪝Fork()->hydrateObject($className, $payload), + '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Permissions' => $this->getObjectMapperWebHook🪝Fork()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookGithubAppAuthorizationRevoked' => $this->getObjectMapperWebHook🪝GithubAppAuthorization()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookGollum' => $this->getObjectMapperWebHook🪝Gollum()->hydrateObject($className, $payload), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationNewPermissionsAccepted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationSuspend', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationUnsuspend' => $this->getObjectMapperWebHook🪝Installation()->hydrateObject($className, $payload), @@ -1310,7 +1310,7 @@ public function serializeObjectOfType(object $object, string $className): mixed '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\CheckRun', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\PerformedViaGithubApp', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\PerformedViaGithubApp\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\Deployment\\PerformedViaGithubApp\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\Creator', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\PerformedViaGithubApp', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\PerformedViaGithubApp\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\DeploymentStatus\\PerformedViaGithubApp\\Permissions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\Actor', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\HeadRepository', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\HeadRepository\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\Repository', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\Repository\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDeploymentStatusCreated\\WorkflowRun\\TriggeringActor' => $this->getObjectMapperWebHook🪝DeploymentStatus()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionAnswered', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksAnswer', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksAnswer\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksAnswer\\User', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\AnswerChosenBy', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\Category', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\Discussion\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged\\Changes\\Category', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCategoryChanged\\Changes\\Category\\From', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionClosed', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited\\Changes\\Body', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionEdited\\Changes\\Title', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionLabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksLabel', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionLocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionPinned', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionReopened', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionTransferred', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionTransferred\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnanswered', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnlabeled', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnlocked', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionUnpinned' => $this->getObjectMapperWebHook🪝Discussion()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksComment', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksComment\\Reactions', '\\ApiClients\\Client\\GitHub\\Schema\\WebhooksComment\\User', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentEdited', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentEdited\\Changes', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookDiscussionCommentEdited\\Changes\\Body' => $this->getObjectMapperWebHook🪝DiscussionComment()->serializeObject($object), - '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\CustomProperties', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Permissions' => $this->getObjectMapperWebHook🪝Fork()->serializeObject($object), + '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\License', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Owner', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookFork\\Forkee\\Permissions' => $this->getObjectMapperWebHook🪝Fork()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookGithubAppAuthorizationRevoked' => $this->getObjectMapperWebHook🪝GithubAppAuthorization()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookGollum' => $this->getObjectMapperWebHook🪝Gollum()->serializeObject($object), '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationCreated', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationDeleted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationNewPermissionsAccepted', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationSuspend', '\\ApiClients\\Client\\GitHub\\Schema\\WebhookInstallationUnsuspend' => $this->getObjectMapperWebHook🪝Installation()->serializeObject($object), diff --git a/clients/GitHub/src/Schema/WebhookFork.php b/clients/GitHub/src/Schema/WebhookFork.php index bd2c13a4768..6c96bb15b3f 100644 --- a/clients/GitHub/src/Schema/WebhookFork.php +++ b/clients/GitHub/src/Schema/WebhookFork.php @@ -276,11 +276,6 @@ } ] }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, "default_branch": { "type": "string", "description": "The default branch of the repository." @@ -2844,7 +2839,6 @@ "contents_url": "generated", "contributors_url": "https:\\/\\/example.com\\/", "created_at": null, - "custom_properties": [], "default_branch": "generated", "delete_branch_on_merge": false, "deployments_url": "https:\\/\\/example.com\\/", diff --git a/clients/GitHub/src/Schema/WebhookFork/Forkee.php b/clients/GitHub/src/Schema/WebhookFork/Forkee.php index 78846c588a8..9bcd22d7d55 100644 --- a/clients/GitHub/src/Schema/WebhookFork/Forkee.php +++ b/clients/GitHub/src/Schema/WebhookFork/Forkee.php @@ -176,11 +176,6 @@ } ] }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, "default_branch": { "type": "string", "description": "The default branch of the repository." @@ -650,7 +645,6 @@ "contents_url": "generated", "contributors_url": "https:\\/\\/example.com\\/", "created_at": null, - "custom_properties": [], "default_branch": "generated", "delete_branch_on_merge": false, "deployments_url": "https:\\/\\/example.com\\/", @@ -768,7 +762,6 @@ * allowRebaseMerge: Whether to allow rebase merges for pull requests. * allowSquashMerge: Whether to allow squash merges for pull requests. * archived: Whether the repository is archived. - * customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. * defaultBranch: The default branch of the repository. * deleteBranchOnMerge: Whether to delete head branches when pull requests are merged * disabled: Returns whether or not this repository is disabled. @@ -799,8 +792,7 @@ public function __construct(#[MapFrom('allow_auto_merge')] public string $compareUrl, #[MapFrom('contents_url')] public string $contentsUrl, #[MapFrom('contributors_url')] public string $contributorsUrl, #[MapFrom('created_at')] - public int|string $createdAt, #[MapFrom('custom_properties')] - public Schema\WebhookFork\Forkee\CustomProperties|null $customProperties, #[MapFrom('default_branch')] + public int|string $createdAt, #[MapFrom('default_branch')] public string $defaultBranch, #[MapFrom('delete_branch_on_merge')] public bool|null $deleteBranchOnMerge, #[MapFrom('deployments_url')] public string $deploymentsUrl, public string|null $description, public bool|null $disabled, #[MapFrom('downloads_url')] diff --git a/clients/GitHub/src/Schema/WebhookFork/Forkee/CustomProperties.php b/clients/GitHub/src/Schema/WebhookFork/Forkee/CustomProperties.php deleted file mode 100644 index fb1487c949e..00000000000 --- a/clients/GitHub/src/Schema/WebhookFork/Forkee/CustomProperties.php +++ /dev/null @@ -1,11 +0,0 @@ -