@@ -717,6 +717,15 @@ extension APIProtocol {
717717
718718/// Server URLs defined in the OpenAPI document.
719719public enum Servers {
720+ public enum Server1 {
721+ public static func url( ) throws -> Foundation . URL {
722+ try Foundation . URL (
723+ validatingOpenAPIServerURL: " https://api.github.com " ,
724+ variables: [ ]
725+ )
726+ }
727+ }
728+ @available ( * , deprecated, renamed: " Servers.Server1.url " )
720729 public static func server1( ) throws -> Foundation . URL {
721730 try Foundation . URL (
722731 validatingOpenAPIServerURL: " https://api.github.com " ,
@@ -1049,7 +1058,7 @@ public enum Components {
10491058 /// The reaction to use
10501059 ///
10511060 /// - Remark: Generated from `#/components/schemas/reaction/content`.
1052- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
1061+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
10531062 case _plus_1 = " +1 "
10541063 case _hyphen_1 = " -1 "
10551064 case laugh = " laugh "
@@ -1303,7 +1312,7 @@ public enum Operations {
13031312 /// - Remark: Generated from `#/paths/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/GET/query`.
13041313 public struct Query : Sendable , Hashable {
13051314 /// - Remark: Generated from `#/paths/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/GET/query/content`.
1306- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
1315+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
13071316 case _plus_1 = " +1 "
13081317 case _hyphen_1 = " -1 "
13091318 case laugh = " laugh "
@@ -1545,7 +1554,7 @@ public enum Operations {
15451554 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.
15461555 ///
15471556 /// - Remark: Generated from `#/paths/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/POST/requestBody/json/content`.
1548- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
1557+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
15491558 case _plus_1 = " +1 "
15501559 case _hyphen_1 = " -1 "
15511560 case laugh = " laugh "
@@ -1802,6 +1811,14 @@ public enum Operations {
18021811 ///
18031812 /// HTTP response code: `204 noContent`.
18041813 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_team_hyphen_discussion_hyphen_comment . Output . NoContent )
1814+ /// Response
1815+ ///
1816+ /// - Remark: Generated from `#/paths//orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}/delete(reactions/delete-for-team-discussion-comment)/responses/204`.
1817+ ///
1818+ /// HTTP response code: `204 noContent`.
1819+ public static var noContent : Self {
1820+ . noContent( . init( ) )
1821+ }
18051822 /// The associated value of the enum case if `self` is `.noContent`.
18061823 ///
18071824 /// - Throws: An error if `self` is not `.noContent`.
@@ -1873,7 +1890,7 @@ public enum Operations {
18731890 /// - Remark: Generated from `#/paths/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/GET/query`.
18741891 public struct Query : Sendable , Hashable {
18751892 /// - Remark: Generated from `#/paths/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/GET/query/content`.
1876- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
1893+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
18771894 case _plus_1 = " +1 "
18781895 case _hyphen_1 = " -1 "
18791896 case laugh = " laugh "
@@ -2108,7 +2125,7 @@ public enum Operations {
21082125 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.
21092126 ///
21102127 /// - Remark: Generated from `#/paths/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/POST/requestBody/json/content`.
2111- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
2128+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
21122129 case _plus_1 = " +1 "
21132130 case _hyphen_1 = " -1 "
21142131 case laugh = " laugh "
@@ -2358,6 +2375,14 @@ public enum Operations {
23582375 ///
23592376 /// HTTP response code: `204 noContent`.
23602377 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_team_hyphen_discussion . Output . NoContent )
2378+ /// Response
2379+ ///
2380+ /// - Remark: Generated from `#/paths//orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}/delete(reactions/delete-for-team-discussion)/responses/204`.
2381+ ///
2382+ /// HTTP response code: `204 noContent`.
2383+ public static var noContent : Self {
2384+ . noContent( . init( ) )
2385+ }
23612386 /// The associated value of the enum case if `self` is `.noContent`.
23622387 ///
23632388 /// - Throws: An error if `self` is not `.noContent`.
@@ -2424,7 +2449,7 @@ public enum Operations {
24242449 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/comments/{comment_id}/reactions/GET/query`.
24252450 public struct Query : Sendable , Hashable {
24262451 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/comments/{comment_id}/reactions/GET/query/content`.
2427- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
2452+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
24282453 case _plus_1 = " +1 "
24292454 case _hyphen_1 = " -1 "
24302455 case laugh = " laugh "
@@ -2675,7 +2700,7 @@ public enum Operations {
26752700 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the commit comment.
26762701 ///
26772702 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/comments/{comment_id}/reactions/POST/requestBody/json/content`.
2678- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
2703+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
26792704 case _plus_1 = " +1 "
26802705 case _hyphen_1 = " -1 "
26812706 case laugh = " laugh "
@@ -2946,6 +2971,14 @@ public enum Operations {
29462971 ///
29472972 /// HTTP response code: `204 noContent`.
29482973 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_commit_hyphen_comment . Output . NoContent )
2974+ /// Response
2975+ ///
2976+ /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}/delete(reactions/delete-for-commit-comment)/responses/204`.
2977+ ///
2978+ /// HTTP response code: `204 noContent`.
2979+ public static var noContent : Self {
2980+ . noContent( . init( ) )
2981+ }
29492982 /// The associated value of the enum case if `self` is `.noContent`.
29502983 ///
29512984 /// - Throws: An error if `self` is not `.noContent`.
@@ -3012,7 +3045,7 @@ public enum Operations {
30123045 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/GET/query`.
30133046 public struct Query : Sendable , Hashable {
30143047 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/GET/query/content`.
3015- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
3048+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
30163049 case _plus_1 = " +1 "
30173050 case _hyphen_1 = " -1 "
30183051 case laugh = " laugh "
@@ -3263,7 +3296,7 @@ public enum Operations {
32633296 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue comment.
32643297 ///
32653298 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/POST/requestBody/json/content`.
3266- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
3299+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
32673300 case _plus_1 = " +1 "
32683301 case _hyphen_1 = " -1 "
32693302 case laugh = " laugh "
@@ -3534,6 +3567,14 @@ public enum Operations {
35343567 ///
35353568 /// HTTP response code: `204 noContent`.
35363569 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_issue_hyphen_comment . Output . NoContent )
3570+ /// Response
3571+ ///
3572+ /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}/delete(reactions/delete-for-issue-comment)/responses/204`.
3573+ ///
3574+ /// HTTP response code: `204 noContent`.
3575+ public static var noContent : Self {
3576+ . noContent( . init( ) )
3577+ }
35373578 /// The associated value of the enum case if `self` is `.noContent`.
35383579 ///
35393580 /// - Throws: An error if `self` is not `.noContent`.
@@ -3600,7 +3641,7 @@ public enum Operations {
36003641 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/{issue_number}/reactions/GET/query`.
36013642 public struct Query : Sendable , Hashable {
36023643 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/{issue_number}/reactions/GET/query/content`.
3603- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
3644+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
36043645 case _plus_1 = " +1 "
36053646 case _hyphen_1 = " -1 "
36063647 case laugh = " laugh "
@@ -3874,7 +3915,7 @@ public enum Operations {
38743915 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue.
38753916 ///
38763917 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/{issue_number}/reactions/POST/requestBody/json/content`.
3877- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
3918+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
38783919 case _plus_1 = " +1 "
38793920 case _hyphen_1 = " -1 "
38803921 case laugh = " laugh "
@@ -4145,6 +4186,14 @@ public enum Operations {
41454186 ///
41464187 /// HTTP response code: `204 noContent`.
41474188 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_issue . Output . NoContent )
4189+ /// Response
4190+ ///
4191+ /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}/delete(reactions/delete-for-issue)/responses/204`.
4192+ ///
4193+ /// HTTP response code: `204 noContent`.
4194+ public static var noContent : Self {
4195+ . noContent( . init( ) )
4196+ }
41484197 /// The associated value of the enum case if `self` is `.noContent`.
41494198 ///
41504199 /// - Throws: An error if `self` is not `.noContent`.
@@ -4211,7 +4260,7 @@ public enum Operations {
42114260 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/GET/query`.
42124261 public struct Query : Sendable , Hashable {
42134262 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/GET/query/content`.
4214- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
4263+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
42154264 case _plus_1 = " +1 "
42164265 case _hyphen_1 = " -1 "
42174266 case laugh = " laugh "
@@ -4462,7 +4511,7 @@ public enum Operations {
44624511 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the pull request review comment.
44634512 ///
44644513 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/POST/requestBody/json/content`.
4465- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
4514+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
44664515 case _plus_1 = " +1 "
44674516 case _hyphen_1 = " -1 "
44684517 case laugh = " laugh "
@@ -4733,6 +4782,14 @@ public enum Operations {
47334782 ///
47344783 /// HTTP response code: `204 noContent`.
47354784 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_pull_hyphen_request_hyphen_comment . Output . NoContent )
4785+ /// Response
4786+ ///
4787+ /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}/delete(reactions/delete-for-pull-request-comment)/responses/204`.
4788+ ///
4789+ /// HTTP response code: `204 noContent`.
4790+ public static var noContent : Self {
4791+ . noContent( . init( ) )
4792+ }
47364793 /// The associated value of the enum case if `self` is `.noContent`.
47374794 ///
47384795 /// - Throws: An error if `self` is not `.noContent`.
@@ -4799,7 +4856,7 @@ public enum Operations {
47994856 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/releases/{release_id}/reactions/GET/query`.
48004857 public struct Query : Sendable , Hashable {
48014858 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/releases/{release_id}/reactions/GET/query/content`.
4802- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
4859+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
48034860 case _plus_1 = " +1 "
48044861 case laugh = " laugh "
48054862 case heart = " heart "
@@ -5048,7 +5105,7 @@ public enum Operations {
50485105 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the release.
50495106 ///
50505107 /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/releases/{release_id}/reactions/POST/requestBody/json/content`.
5051- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
5108+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
50525109 case _plus_1 = " +1 "
50535110 case laugh = " laugh "
50545111 case heart = " heart "
@@ -5317,6 +5374,14 @@ public enum Operations {
53175374 ///
53185375 /// HTTP response code: `204 noContent`.
53195376 case noContent( Operations . reactions_sol_delete_hyphen_for_hyphen_release . Output . NoContent )
5377+ /// Response
5378+ ///
5379+ /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}/delete(reactions/delete-for-release)/responses/204`.
5380+ ///
5381+ /// HTTP response code: `204 noContent`.
5382+ public static var noContent : Self {
5383+ . noContent( . init( ) )
5384+ }
53205385 /// The associated value of the enum case if `self` is `.noContent`.
53215386 ///
53225387 /// - Throws: An error if `self` is not `.noContent`.
@@ -5388,7 +5453,7 @@ public enum Operations {
53885453 /// - Remark: Generated from `#/paths/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions/GET/query`.
53895454 public struct Query : Sendable , Hashable {
53905455 /// - Remark: Generated from `#/paths/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions/GET/query/content`.
5391- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
5456+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
53925457 case _plus_1 = " +1 "
53935458 case _hyphen_1 = " -1 "
53945459 case laugh = " laugh "
@@ -5623,7 +5688,7 @@ public enum Operations {
56235688 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment.
56245689 ///
56255690 /// - Remark: Generated from `#/paths/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions/POST/requestBody/json/content`.
5626- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
5691+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
56275692 case _plus_1 = " +1 "
56285693 case _hyphen_1 = " -1 "
56295694 case laugh = " laugh "
@@ -5792,7 +5857,7 @@ public enum Operations {
57925857 /// - Remark: Generated from `#/paths/teams/{team_id}/discussions/{discussion_number}/reactions/GET/query`.
57935858 public struct Query : Sendable , Hashable {
57945859 /// - Remark: Generated from `#/paths/teams/{team_id}/discussions/{discussion_number}/reactions/GET/query/content`.
5795- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
5860+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
57965861 case _plus_1 = " +1 "
57975862 case _hyphen_1 = " -1 "
57985863 case laugh = " laugh "
@@ -6020,7 +6085,7 @@ public enum Operations {
60206085 /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion.
60216086 ///
60226087 /// - Remark: Generated from `#/paths/teams/{team_id}/discussions/{discussion_number}/reactions/POST/requestBody/json/content`.
6023- @frozen public enum contentPayload : String , Codable , Hashable , Sendable {
6088+ @frozen public enum contentPayload : String , Codable , Hashable , Sendable , CaseIterable {
60246089 case _plus_1 = " +1 "
60256090 case _hyphen_1 = " -1 "
60266091 case laugh = " laugh "
0 commit comments