From 512a670e8079460484dcc169a97331a362002ac1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 21:22:23 +0000 Subject: [PATCH 1/5] Bump Submodule/github/rest-api-description from `9eeb21a` to `5b01aaf` Bumps [Submodule/github/rest-api-description](https://github.com/github/rest-api-description) from `9eeb21a` to `5b01aaf`. - [Release notes](https://github.com/github/rest-api-description/releases) - [Commits](https://github.com/github/rest-api-description/compare/9eeb21a45b4c3d00de498624445a196062c7dfde...5b01aaf4c881bb75d6ef744ff8b26fa229f4deca) --- updated-dependencies: - dependency-name: Submodule/github/rest-api-description dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Submodule/github/rest-api-description | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Submodule/github/rest-api-description b/Submodule/github/rest-api-description index 9eeb21a45b4..5b01aaf4c88 160000 --- a/Submodule/github/rest-api-description +++ b/Submodule/github/rest-api-description @@ -1 +1 @@ -Subproject commit 9eeb21a45b4c3d00de498624445a196062c7dfde +Subproject commit 5b01aaf4c881bb75d6ef744ff8b26fa229f4deca From 4951c725a1a73023a73ea880a0ef6b740a1f4955 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 26 Aug 2024 21:40:40 +0000 Subject: [PATCH 2/5] Commit via running ake Sources/checks --- Sources/checks/Types.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/checks/Types.swift b/Sources/checks/Types.swift index fcc84f1dfe9..ab0d2c93dc3 100644 --- a/Sources/checks/Types.swift +++ b/Sources/checks/Types.swift @@ -2053,7 +2053,7 @@ public enum Components { /// The id of the check. /// /// - Remark: Generated from `#/components/schemas/check-run/id`. - public var id: Swift.Int + public var id: Swift.Int64 /// The SHA of the commit that is being checked. /// /// - Remark: Generated from `#/components/schemas/check-run/head_sha`. @@ -2192,7 +2192,7 @@ public enum Components { /// - pull_requests: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. /// - deployment: public init( - id: Swift.Int, + id: Swift.Int64, head_sha: Swift.String, node_id: Swift.String, external_id: Swift.String? = nil, From e32cd621c8cb8b5640e175dbfbc4030a49ca92a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 26 Aug 2024 21:43:07 +0000 Subject: [PATCH 3/5] Commit via running ake Sources/git --- Sources/git/Client.swift | 4 +- Sources/git/Types.swift | 165 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 164 insertions(+), 5 deletions(-) diff --git a/Sources/git/Client.swift b/Sources/git/Client.swift index 8de5f0ee12c..b2452d34134 100644 --- a/Sources/git/Client.swift +++ b/Sources/git/Client.swift @@ -176,7 +176,7 @@ public struct Client: APIProtocol { return .forbidden(.init(body: body)) case 422: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Components.Responses.validation_failed.Body + let body: Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -186,7 +186,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.validation_hyphen_error.self, + Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent.Body.jsonPayload.self, from: responseBody, transforming: { value in .json(value) diff --git a/Sources/git/Types.swift b/Sources/git/Types.swift index 64050038238..384a2f3264b 100644 --- a/Sources/git/Types.swift +++ b/Sources/git/Types.swift @@ -812,6 +812,102 @@ public enum Components { case signature } } + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id`. + public typealias secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id = Swift.String + /// Repository rule violation was detected + /// + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error`. + public struct repository_hyphen_rule_hyphen_violation_hyphen_error: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/message`. + public var message: Swift.String? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/documentation_url`. + public var documentation_url: Swift.String? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/status`. + public var status: Swift.String? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata`. + public struct metadataPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning`. + public struct secret_scanningPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholdersPayload`. + public struct bypass_placeholdersPayloadPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholdersPayload/placeholder_id`. + public var placeholder_id: Components.Schemas.secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholdersPayload/token_type`. + public var token_type: Swift.String? + /// Creates a new `bypass_placeholdersPayloadPayload`. + /// + /// - Parameters: + /// - placeholder_id: + /// - token_type: + public init( + placeholder_id: Components.Schemas.secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id? = nil, + token_type: Swift.String? = nil + ) { + self.placeholder_id = placeholder_id + self.token_type = token_type + } + public enum CodingKeys: String, CodingKey { + case placeholder_id + case token_type + } + } + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholders`. + public typealias bypass_placeholdersPayload = [Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload.bypass_placeholdersPayloadPayload] + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholders`. + public var bypass_placeholders: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload.bypass_placeholdersPayload? + /// Creates a new `secret_scanningPayload`. + /// + /// - Parameters: + /// - bypass_placeholders: + public init(bypass_placeholders: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload.bypass_placeholdersPayload? = nil) { + self.bypass_placeholders = bypass_placeholders + } + public enum CodingKeys: String, CodingKey { + case bypass_placeholders + } + } + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning`. + public var secret_scanning: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload? + /// Creates a new `metadataPayload`. + /// + /// - Parameters: + /// - secret_scanning: + public init(secret_scanning: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload? = nil) { + self.secret_scanning = secret_scanning + } + public enum CodingKeys: String, CodingKey { + case secret_scanning + } + } + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata`. + public var metadata: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload? + /// Creates a new `repository_hyphen_rule_hyphen_violation_hyphen_error`. + /// + /// - Parameters: + /// - message: + /// - documentation_url: + /// - status: + /// - metadata: + public init( + message: Swift.String? = nil, + documentation_url: Swift.String? = nil, + status: Swift.String? = nil, + metadata: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload? = nil + ) { + self.message = message + self.documentation_url = documentation_url + self.status = status + self.metadata = metadata + } + public enum CodingKeys: String, CodingKey { + case message + case documentation_url + case status + case metadata + } + } /// Short Blob /// /// - Remark: Generated from `#/components/schemas/short-blob`. @@ -1803,17 +1899,80 @@ public enum Operations { } } } - /// Validation failed, or the endpoint has been spammed. + public struct UnprocessableContent: Sendable, Hashable { + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/git/blobs/POST/responses/422/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/git/blobs/POST/responses/422/content/json`. + @frozen public enum jsonPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/git/blobs/POST/responses/422/content/json/case1`. + case validation_hyphen_error(Components.Schemas.validation_hyphen_error) + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/git/blobs/POST/responses/422/content/json/case2`. + case repository_hyphen_rule_hyphen_violation_hyphen_error(Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error) + public init(from decoder: any Decoder) throws { + var errors: [any Error] = [] + do { + self = .validation_hyphen_error(try .init(from: decoder)) + return + } catch { + errors.append(error) + } + do { + self = .repository_hyphen_rule_hyphen_violation_hyphen_error(try .init(from: decoder)) + return + } catch { + errors.append(error) + } + throw Swift.DecodingError.failedToDecodeOneOfSchema( + type: Self.self, + codingPath: decoder.codingPath, + errors: errors + ) + } + public func encode(to encoder: any Encoder) throws { + switch self { + case let .validation_hyphen_error(value): + try value.encode(to: encoder) + case let .repository_hyphen_rule_hyphen_violation_hyphen_error(value): + try value.encode(to: encoder) + } + } + } + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/git/blobs/POST/responses/422/content/application\/json`. + case json(Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent.Body.jsonPayload) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent.Body.jsonPayload { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent.Body + /// Creates a new `UnprocessableContent`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent.Body) { + self.body = body + } + } + /// Validation failed /// /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/git/blobs/post(git/create-blob)/responses/422`. /// /// HTTP response code: `422 unprocessableContent`. - case unprocessableContent(Components.Responses.validation_failed) + case unprocessableContent(Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent) /// The associated value of the enum case if `self` is `.unprocessableContent`. /// /// - Throws: An error if `self` is not `.unprocessableContent`. /// - SeeAlso: `.unprocessableContent`. - public var unprocessableContent: Components.Responses.validation_failed { + public var unprocessableContent: Operations.git_sol_create_hyphen_blob.Output.UnprocessableContent { get throws { switch self { case let .unprocessableContent(response): From 965683542744aa3827de0ef232a41c4aaabbca29 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 26 Aug 2024 21:48:25 +0000 Subject: [PATCH 4/5] Commit via running ake Sources/repos --- Sources/repos/Client.swift | 4 +- Sources/repos/Types.swift | 163 ++++++++++++++++++++++++++++++++++++- 2 files changed, 163 insertions(+), 4 deletions(-) diff --git a/Sources/repos/Client.swift b/Sources/repos/Client.swift index 4cb921c6b93..de935b61842 100644 --- a/Sources/repos/Client.swift +++ b/Sources/repos/Client.swift @@ -8476,7 +8476,7 @@ public struct Client: APIProtocol { return .unprocessableContent(.init(body: body)) case 409: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Components.Responses.conflict.Body + let body: Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -8486,7 +8486,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.basic_hyphen_error.self, + Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict.Body.jsonPayload.self, from: responseBody, transforming: { value in .json(value) diff --git a/Sources/repos/Types.swift b/Sources/repos/Types.swift index d03a2681163..96007dea6eb 100644 --- a/Sources/repos/Types.swift +++ b/Sources/repos/Types.swift @@ -18726,6 +18726,102 @@ public enum Components { case commit } } + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id`. + public typealias secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id = Swift.String + /// Repository rule violation was detected + /// + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error`. + public struct repository_hyphen_rule_hyphen_violation_hyphen_error: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/message`. + public var message: Swift.String? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/documentation_url`. + public var documentation_url: Swift.String? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/status`. + public var status: Swift.String? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata`. + public struct metadataPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning`. + public struct secret_scanningPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholdersPayload`. + public struct bypass_placeholdersPayloadPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholdersPayload/placeholder_id`. + public var placeholder_id: Components.Schemas.secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id? + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholdersPayload/token_type`. + public var token_type: Swift.String? + /// Creates a new `bypass_placeholdersPayloadPayload`. + /// + /// - Parameters: + /// - placeholder_id: + /// - token_type: + public init( + placeholder_id: Components.Schemas.secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id? = nil, + token_type: Swift.String? = nil + ) { + self.placeholder_id = placeholder_id + self.token_type = token_type + } + public enum CodingKeys: String, CodingKey { + case placeholder_id + case token_type + } + } + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholders`. + public typealias bypass_placeholdersPayload = [Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload.bypass_placeholdersPayloadPayload] + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning/bypass_placeholders`. + public var bypass_placeholders: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload.bypass_placeholdersPayload? + /// Creates a new `secret_scanningPayload`. + /// + /// - Parameters: + /// - bypass_placeholders: + public init(bypass_placeholders: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload.bypass_placeholdersPayload? = nil) { + self.bypass_placeholders = bypass_placeholders + } + public enum CodingKeys: String, CodingKey { + case bypass_placeholders + } + } + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata/secret_scanning`. + public var secret_scanning: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload? + /// Creates a new `metadataPayload`. + /// + /// - Parameters: + /// - secret_scanning: + public init(secret_scanning: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload.secret_scanningPayload? = nil) { + self.secret_scanning = secret_scanning + } + public enum CodingKeys: String, CodingKey { + case secret_scanning + } + } + /// - Remark: Generated from `#/components/schemas/repository-rule-violation-error/metadata`. + public var metadata: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload? + /// Creates a new `repository_hyphen_rule_hyphen_violation_hyphen_error`. + /// + /// - Parameters: + /// - message: + /// - documentation_url: + /// - status: + /// - metadata: + public init( + message: Swift.String? = nil, + documentation_url: Swift.String? = nil, + status: Swift.String? = nil, + metadata: Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error.metadataPayload? = nil + ) { + self.message = message + self.documentation_url = documentation_url + self.status = status + self.metadata = metadata + } + public enum CodingKeys: String, CodingKey { + case message + case documentation_url + case status + case metadata + } + } /// Contributor /// /// - Remark: Generated from `#/components/schemas/contributor`. @@ -40466,17 +40562,80 @@ public enum Operations { } } } + public struct Conflict: Sendable, Hashable { + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/contents/{path}/PUT/responses/409/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/contents/{path}/PUT/responses/409/content/json`. + @frozen public enum jsonPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/contents/{path}/PUT/responses/409/content/json/case1`. + case basic_hyphen_error(Components.Schemas.basic_hyphen_error) + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/contents/{path}/PUT/responses/409/content/json/case2`. + case repository_hyphen_rule_hyphen_violation_hyphen_error(Components.Schemas.repository_hyphen_rule_hyphen_violation_hyphen_error) + public init(from decoder: any Decoder) throws { + var errors: [any Error] = [] + do { + self = .basic_hyphen_error(try .init(from: decoder)) + return + } catch { + errors.append(error) + } + do { + self = .repository_hyphen_rule_hyphen_violation_hyphen_error(try .init(from: decoder)) + return + } catch { + errors.append(error) + } + throw Swift.DecodingError.failedToDecodeOneOfSchema( + type: Self.self, + codingPath: decoder.codingPath, + errors: errors + ) + } + public func encode(to encoder: any Encoder) throws { + switch self { + case let .basic_hyphen_error(value): + try value.encode(to: encoder) + case let .repository_hyphen_rule_hyphen_violation_hyphen_error(value): + try value.encode(to: encoder) + } + } + } + /// - Remark: Generated from `#/paths/repos/{owner}/{repo}/contents/{path}/PUT/responses/409/content/application\/json`. + case json(Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict.Body.jsonPayload) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict.Body.jsonPayload { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict.Body + /// Creates a new `Conflict`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict.Body) { + self.body = body + } + } /// Conflict /// /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/contents/{path}/put(repos/create-or-update-file-contents)/responses/409`. /// /// HTTP response code: `409 conflict`. - case conflict(Components.Responses.conflict) + case conflict(Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict) /// The associated value of the enum case if `self` is `.conflict`. /// /// - Throws: An error if `self` is not `.conflict`. /// - SeeAlso: `.conflict`. - public var conflict: Components.Responses.conflict { + public var conflict: Operations.repos_sol_create_hyphen_or_hyphen_update_hyphen_file_hyphen_contents.Output.Conflict { get throws { switch self { case let .conflict(response): From db6114f0649fbe03b39496f05869ca8074bd3d3e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 26 Aug 2024 21:49:07 +0000 Subject: [PATCH 5/5] Commit via running ake Sources/secret-scanning --- Sources/secret-scanning/Types.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/secret-scanning/Types.swift b/Sources/secret-scanning/Types.swift index 5c51a462605..7e1c7b29706 100644 --- a/Sources/secret-scanning/Types.swift +++ b/Sources/secret-scanning/Types.swift @@ -1139,6 +1139,10 @@ public enum Components { case validity } } + /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. + /// + /// - Remark: Generated from `#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id`. + public typealias secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id = Swift.String /// - Remark: Generated from `#/components/schemas/secret-scanning-alert`. public struct secret_hyphen_scanning_hyphen_alert: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/secret-scanning-alert/number`. @@ -1864,10 +1868,6 @@ public enum Components { case used_in_tests = "used_in_tests" case will_fix_later = "will_fix_later" } - /// The ID of the push protection bypass placeholder. This value is returned on any push protected routes. - /// - /// - Remark: Generated from `#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id`. - public typealias secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass_hyphen_placeholder_hyphen_id = Swift.String /// - Remark: Generated from `#/components/schemas/secret-scanning-push-protection-bypass`. public struct secret_hyphen_scanning_hyphen_push_hyphen_protection_hyphen_bypass: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/secret-scanning-push-protection-bypass/reason`.