Skip to content

Commit 288baca

Browse files
Commit via running ake Sources/orgs
1 parent 783e5a7 commit 288baca

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

Sources/orgs/Client.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7145,8 +7145,6 @@ public struct Client: APIProtocol {
71457145
switch response.status.code {
71467146
case 204:
71477147
return .noContent(.init())
7148-
case 409:
7149-
return .conflict(.init())
71507148
default:
71517149
return .undocumented(
71527150
statusCode: response.status.code,

Sources/orgs/Types.swift

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4717,7 +4717,7 @@ public enum Components {
47174717
/// - Remark: Generated from `#/components/schemas/minimal-repository`.
47184718
public struct minimal_hyphen_repository: Codable, Hashable, Sendable {
47194719
/// - Remark: Generated from `#/components/schemas/minimal-repository/id`.
4720-
public var id: Swift.Int
4720+
public var id: Swift.Int64
47214721
/// - Remark: Generated from `#/components/schemas/minimal-repository/node_id`.
47224722
public var node_id: Swift.String
47234723
/// - Remark: Generated from `#/components/schemas/minimal-repository/name`.
@@ -5065,7 +5065,7 @@ public enum Components {
50655065
/// - web_commit_signoff_required:
50665066
/// - security_and_analysis:
50675067
public init(
5068-
id: Swift.Int,
5068+
id: Swift.Int64,
50695069
node_id: Swift.String,
50705070
name: Swift.String,
50715071
full_name: Swift.String,
@@ -5765,7 +5765,7 @@ public enum Components {
57655765
/// - Remark: Generated from `#/components/schemas/organization-invitation`.
57665766
public struct organization_hyphen_invitation: Codable, Hashable, Sendable {
57675767
/// - Remark: Generated from `#/components/schemas/organization-invitation/id`.
5768-
public var id: Swift.Int
5768+
public var id: Swift.Int64
57695769
/// - Remark: Generated from `#/components/schemas/organization-invitation/login`.
57705770
public var login: Swift.String?
57715771
/// - Remark: Generated from `#/components/schemas/organization-invitation/email`.
@@ -5804,7 +5804,7 @@ public enum Components {
58045804
/// - invitation_teams_url:
58055805
/// - invitation_source:
58065806
public init(
5807-
id: Swift.Int,
5807+
id: Swift.Int64,
58085808
login: Swift.String? = nil,
58095809
email: Swift.String? = nil,
58105810
role: Swift.String,
@@ -21224,33 +21224,6 @@ public enum Operations {
2122421224
}
2122521225
}
2122621226
}
21227-
public struct Conflict: Sendable, Hashable {
21228-
/// Creates a new `Conflict`.
21229-
public init() {}
21230-
}
21231-
/// The organization has reached the maximum number of security manager teams.
21232-
///
21233-
/// - Remark: Generated from `#/paths//orgs/{org}/security-managers/teams/{team_slug}/put(orgs/add-security-manager-team)/responses/409`.
21234-
///
21235-
/// HTTP response code: `409 conflict`.
21236-
case conflict(Operations.orgs_sol_add_hyphen_security_hyphen_manager_hyphen_team.Output.Conflict)
21237-
/// The associated value of the enum case if `self` is `.conflict`.
21238-
///
21239-
/// - Throws: An error if `self` is not `.conflict`.
21240-
/// - SeeAlso: `.conflict`.
21241-
public var conflict: Operations.orgs_sol_add_hyphen_security_hyphen_manager_hyphen_team.Output.Conflict {
21242-
get throws {
21243-
switch self {
21244-
case let .conflict(response):
21245-
return response
21246-
default:
21247-
try throwUnexpectedResponseStatus(
21248-
expectedStatus: "conflict",
21249-
response: self
21250-
)
21251-
}
21252-
}
21253-
}
2125421227
/// Undocumented response.
2125521228
///
2125621229
/// A response with a code that is not documented in the OpenAPI document.

0 commit comments

Comments
 (0)