Skip to content

Bump Submodule/github/rest-api-description from 013cbdd to 315cea7 #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

56 changes: 28 additions & 28 deletions Sources/actions/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9301,6 +9301,34 @@ public enum Components {
self.body = body
}
}
public struct internal_error: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content`.
@frozen public enum Body: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
case json(Components.Schemas.basic_hyphen_error)
/// The associated value of the enum case if `self` is `.json`.
///
/// - Throws: An error if `self` is not `.json`.
/// - SeeAlso: `.json`.
public var json: Components.Schemas.basic_hyphen_error {
get throws {
switch self {
case let .json(body):
return body
}
}
}
}
/// Received HTTP response body
public var body: Components.Responses.internal_error.Body
/// Creates a new `internal_error`.
///
/// - Parameters:
/// - body: Received HTTP response body
public init(body: Components.Responses.internal_error.Body) {
self.body = body
}
}
public struct conflict: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/conflict/content`.
@frozen public enum Body: Sendable, Hashable {
Expand Down Expand Up @@ -9484,34 +9512,6 @@ public enum Components {
self.body = body
}
}
public struct internal_error: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content`.
@frozen public enum Body: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
case json(Components.Schemas.basic_hyphen_error)
/// The associated value of the enum case if `self` is `.json`.
///
/// - Throws: An error if `self` is not `.json`.
/// - SeeAlso: `.json`.
public var json: Components.Schemas.basic_hyphen_error {
get throws {
switch self {
case let .json(body):
return body
}
}
}
}
/// Received HTTP response body
public var body: Components.Responses.internal_error.Body
/// Creates a new `internal_error`.
///
/// - Parameters:
/// - body: Received HTTP response body
public init(body: Components.Responses.internal_error.Body) {
self.body = body
}
}
public struct gone: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/gone/content`.
@frozen public enum Body: Sendable, Hashable {
Expand Down
56 changes: 28 additions & 28 deletions Sources/codespaces/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6444,6 +6444,34 @@ public enum Components {
self.body = body
}
}
public struct internal_error: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content`.
@frozen public enum Body: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
case json(Components.Schemas.basic_hyphen_error)
/// The associated value of the enum case if `self` is `.json`.
///
/// - Throws: An error if `self` is not `.json`.
/// - SeeAlso: `.json`.
public var json: Components.Schemas.basic_hyphen_error {
get throws {
switch self {
case let .json(body):
return body
}
}
}
}
/// Received HTTP response body
public var body: Components.Responses.internal_error.Body
/// Creates a new `internal_error`.
///
/// - Parameters:
/// - body: Received HTTP response body
public init(body: Components.Responses.internal_error.Body) {
self.body = body
}
}
public struct service_unavailable: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/service_unavailable/content`.
@frozen public enum Body: Sendable, Hashable {
Expand Down Expand Up @@ -6529,34 +6557,6 @@ public enum Components {
self.body = body
}
}
public struct internal_error: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content`.
@frozen public enum Body: Sendable, Hashable {
/// - Remark: Generated from `#/components/responses/internal_error/content/application\/json`.
case json(Components.Schemas.basic_hyphen_error)
/// The associated value of the enum case if `self` is `.json`.
///
/// - Throws: An error if `self` is not `.json`.
/// - SeeAlso: `.json`.
public var json: Components.Schemas.basic_hyphen_error {
get throws {
switch self {
case let .json(body):
return body
}
}
}
}
/// Received HTTP response body
public var body: Components.Responses.internal_error.Body
/// Creates a new `internal_error`.
///
/// - Parameters:
/// - body: Received HTTP response body
public init(body: Components.Responses.internal_error.Body) {
self.body = body
}
}
}
/// Types generated from the `#/components/headers` section of the OpenAPI document.
public enum Headers {
Expand Down
Loading