Skip to content

Commit c029fe0

Browse files
Commit via running ake Sources/reactions
1 parent 9534d0a commit c029fe0

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

Sources/reactions/Client.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ public struct Client: APIProtocol {
19801980
/// List reactions for a team discussion comment (Legacy)
19811981
///
19821982
/// > [!WARNING]
1983-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
1983+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
19841984
///
19851985
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
19861986
///
@@ -2081,7 +2081,7 @@ public struct Client: APIProtocol {
20812081
/// Create reaction for a team discussion comment (Legacy)
20822082
///
20832083
/// > [!WARNING]
2084-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
2084+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
20852085
///
20862086
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
20872087
///
@@ -2164,7 +2164,7 @@ public struct Client: APIProtocol {
21642164
/// List reactions for a team discussion (Legacy)
21652165
///
21662166
/// > [!WARNING]
2167-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
2167+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
21682168
///
21692169
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
21702170
///
@@ -2264,7 +2264,7 @@ public struct Client: APIProtocol {
22642264
/// Create reaction for a team discussion (Legacy)
22652265
///
22662266
/// > [!WARNING]
2267-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
2267+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
22682268
///
22692269
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
22702270
///

Sources/reactions/Types.swift

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public protocol APIProtocol: Sendable {
210210
/// List reactions for a team discussion comment (Legacy)
211211
///
212212
/// > [!WARNING]
213-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
213+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
214214
///
215215
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
216216
///
@@ -223,7 +223,7 @@ public protocol APIProtocol: Sendable {
223223
/// Create reaction for a team discussion comment (Legacy)
224224
///
225225
/// > [!WARNING]
226-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
226+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
227227
///
228228
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
229229
///
@@ -238,7 +238,7 @@ public protocol APIProtocol: Sendable {
238238
/// List reactions for a team discussion (Legacy)
239239
///
240240
/// > [!WARNING]
241-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
241+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
242242
///
243243
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
244244
///
@@ -251,7 +251,7 @@ public protocol APIProtocol: Sendable {
251251
/// Create reaction for a team discussion (Legacy)
252252
///
253253
/// > [!WARNING]
254-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
254+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
255255
///
256256
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
257257
///
@@ -620,7 +620,7 @@ extension APIProtocol {
620620
/// List reactions for a team discussion comment (Legacy)
621621
///
622622
/// > [!WARNING]
623-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
623+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
624624
///
625625
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
626626
///
@@ -643,7 +643,7 @@ extension APIProtocol {
643643
/// Create reaction for a team discussion comment (Legacy)
644644
///
645645
/// > [!WARNING]
646-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
646+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
647647
///
648648
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
649649
///
@@ -668,7 +668,7 @@ extension APIProtocol {
668668
/// List reactions for a team discussion (Legacy)
669669
///
670670
/// > [!WARNING]
671-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
671+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
672672
///
673673
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
674674
///
@@ -691,7 +691,7 @@ extension APIProtocol {
691691
/// Create reaction for a team discussion (Legacy)
692692
///
693693
/// > [!WARNING]
694-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
694+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
695695
///
696696
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
697697
///
@@ -812,6 +812,8 @@ public enum Components {
812812
public var site_admin: Swift.Bool
813813
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
814814
public var starred_at: Swift.String?
815+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
816+
public var user_view_type: Swift.String?
815817
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
816818
///
817819
/// - Parameters:
@@ -836,6 +838,7 @@ public enum Components {
836838
/// - _type:
837839
/// - site_admin:
838840
/// - starred_at:
841+
/// - user_view_type:
839842
public init(
840843
name: Swift.String? = nil,
841844
email: Swift.String? = nil,
@@ -857,7 +860,8 @@ public enum Components {
857860
received_events_url: Swift.String,
858861
_type: Swift.String,
859862
site_admin: Swift.Bool,
860-
starred_at: Swift.String? = nil
863+
starred_at: Swift.String? = nil,
864+
user_view_type: Swift.String? = nil
861865
) {
862866
self.name = name
863867
self.email = email
@@ -880,6 +884,7 @@ public enum Components {
880884
self._type = _type
881885
self.site_admin = site_admin
882886
self.starred_at = starred_at
887+
self.user_view_type = user_view_type
883888
}
884889
public enum CodingKeys: String, CodingKey {
885890
case name
@@ -903,6 +908,7 @@ public enum Components {
903908
case _type = "type"
904909
case site_admin
905910
case starred_at
911+
case user_view_type
906912
}
907913
}
908914
/// Validation Error
@@ -5337,7 +5343,7 @@ public enum Operations {
53375343
/// List reactions for a team discussion comment (Legacy)
53385344
///
53395345
/// > [!WARNING]
5340-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
5346+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
53415347
///
53425348
/// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
53435349
///
@@ -5554,7 +5560,7 @@ public enum Operations {
55545560
/// Create reaction for a team discussion comment (Legacy)
55555561
///
55565562
/// > [!WARNING]
5557-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
5563+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
55585564
///
55595565
/// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
55605566
///
@@ -5748,7 +5754,7 @@ public enum Operations {
57485754
/// List reactions for a team discussion (Legacy)
57495755
///
57505756
/// > [!WARNING]
5751-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
5757+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
57525758
///
57535759
/// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
57545760
///
@@ -5958,7 +5964,7 @@ public enum Operations {
59585964
/// Create reaction for a team discussion (Legacy)
59595965
///
59605966
/// > [!WARNING]
5961-
/// > **Deprecation notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
5967+
/// > **Endpoint closing down notice:** This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
59625968
///
59635969
/// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
59645970
///

0 commit comments

Comments
 (0)