@@ -9301,6 +9301,34 @@ public enum Components {
93019301 self.body = body
93029302 }
93039303 }
9304+ public struct internal_error: Sendable, Hashable {
9305+ /// - Remark: Generated from `#/components/responses/internal_error/content`.
9306+ @frozen public enum Body: Sendable, Hashable {
9307+ /// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
9308+ case json(Components.Schemas.basic_hyphen_error)
9309+ /// The associated value of the enum case if `self` is `.json`.
9310+ ///
9311+ /// - Throws: An error if `self` is not `.json`.
9312+ /// - SeeAlso: `.json`.
9313+ public var json: Components.Schemas.basic_hyphen_error {
9314+ get throws {
9315+ switch self {
9316+ case let .json(body):
9317+ return body
9318+ }
9319+ }
9320+ }
9321+ }
9322+ /// Received HTTP response body
9323+ public var body: Components.Responses.internal_error.Body
9324+ /// Creates a new `internal_error`.
9325+ ///
9326+ /// - Parameters:
9327+ /// - body: Received HTTP response body
9328+ public init(body: Components.Responses.internal_error.Body) {
9329+ self.body = body
9330+ }
9331+ }
93049332 public struct conflict: Sendable, Hashable {
93059333 /// - Remark: Generated from `#/components/responses/conflict/content`.
93069334 @frozen public enum Body: Sendable, Hashable {
@@ -9484,34 +9512,6 @@ public enum Components {
94849512 self.body = body
94859513 }
94869514 }
9487- public struct internal_error: Sendable, Hashable {
9488- /// - Remark: Generated from `#/components/responses/internal_error/content`.
9489- @frozen public enum Body: Sendable, Hashable {
9490- /// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
9491- case json(Components.Schemas.basic_hyphen_error)
9492- /// The associated value of the enum case if `self` is `.json`.
9493- ///
9494- /// - Throws: An error if `self` is not `.json`.
9495- /// - SeeAlso: `.json`.
9496- public var json: Components.Schemas.basic_hyphen_error {
9497- get throws {
9498- switch self {
9499- case let .json(body):
9500- return body
9501- }
9502- }
9503- }
9504- }
9505- /// Received HTTP response body
9506- public var body: Components.Responses.internal_error.Body
9507- /// Creates a new `internal_error`.
9508- ///
9509- /// - Parameters:
9510- /// - body: Received HTTP response body
9511- public init(body: Components.Responses.internal_error.Body) {
9512- self.body = body
9513- }
9514- }
95159515 public struct gone: Sendable, Hashable {
95169516 /// - Remark: Generated from `#/components/responses/gone/content`.
95179517 @frozen public enum Body: Sendable, Hashable {
0 commit comments