Skip to content

Commit 9c38ea7

Browse files
Merge pull request #51 from Wei18/dependabot/submodules/Submodule/github/rest-api-description-315cea7
Bump Submodule/github/rest-api-description from `013cbdd` to `315cea7`
2 parents 8d6f90c + 87969a4 commit 9c38ea7

File tree

10 files changed

+2839
-697
lines changed

10 files changed

+2839
-697
lines changed

Sources/actions/Types.swift

+28-28
Original file line numberDiff line numberDiff line change
@@ -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 {

Sources/codespaces/Types.swift

+28-28
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)