Skip to content

Commit 906ea68

Browse files
Commit via running ake Sources/codespaces
1 parent 3cafb61 commit 906ea68

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

Sources/codespaces/Types.swift

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6444,6 +6444,34 @@ public enum Components {
64446444
self.body = body
64456445
}
64466446
}
6447+
public struct internal_error: Sendable, Hashable {
6448+
/// - Remark: Generated from `#/components/responses/internal_error/content`.
6449+
@frozen public enum Body: Sendable, Hashable {
6450+
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
6451+
case json(Components.Schemas.basic_hyphen_error)
6452+
/// The associated value of the enum case if `self` is `.json`.
6453+
///
6454+
/// - Throws: An error if `self` is not `.json`.
6455+
/// - SeeAlso: `.json`.
6456+
public var json: Components.Schemas.basic_hyphen_error {
6457+
get throws {
6458+
switch self {
6459+
case let .json(body):
6460+
return body
6461+
}
6462+
}
6463+
}
6464+
}
6465+
/// Received HTTP response body
6466+
public var body: Components.Responses.internal_error.Body
6467+
/// Creates a new `internal_error`.
6468+
///
6469+
/// - Parameters:
6470+
/// - body: Received HTTP response body
6471+
public init(body: Components.Responses.internal_error.Body) {
6472+
self.body = body
6473+
}
6474+
}
64476475
public struct service_unavailable: Sendable, Hashable {
64486476
/// - Remark: Generated from `#/components/responses/service_unavailable/content`.
64496477
@frozen public enum Body: Sendable, Hashable {
@@ -6529,34 +6557,6 @@ public enum Components {
65296557
self.body = body
65306558
}
65316559
}
6532-
public struct internal_error: Sendable, Hashable {
6533-
/// - Remark: Generated from `#/components/responses/internal_error/content`.
6534-
@frozen public enum Body: Sendable, Hashable {
6535-
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
6536-
case json(Components.Schemas.basic_hyphen_error)
6537-
/// The associated value of the enum case if `self` is `.json`.
6538-
///
6539-
/// - Throws: An error if `self` is not `.json`.
6540-
/// - SeeAlso: `.json`.
6541-
public var json: Components.Schemas.basic_hyphen_error {
6542-
get throws {
6543-
switch self {
6544-
case let .json(body):
6545-
return body
6546-
}
6547-
}
6548-
}
6549-
}
6550-
/// Received HTTP response body
6551-
public var body: Components.Responses.internal_error.Body
6552-
/// Creates a new `internal_error`.
6553-
///
6554-
/// - Parameters:
6555-
/// - body: Received HTTP response body
6556-
public init(body: Components.Responses.internal_error.Body) {
6557-
self.body = body
6558-
}
6559-
}
65606560
}
65616561
/// Types generated from the `#/components/headers` section of the OpenAPI document.
65626562
public enum Headers {

0 commit comments

Comments
 (0)