Skip to content

Bump Submodule/github/rest-api-description from 066dbf5 to d6e386e #78

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Sources/codespaces/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3072,8 +3072,6 @@ public struct Client: APIProtocol {
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
///
/// Anyone with read access to the repository can use this endpoint.
///
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/codespaces/secrets/public-key`.
Expand Down
6 changes: 0 additions & 6 deletions Sources/codespaces/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ public protocol APIProtocol: Sendable {
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
///
/// Anyone with read access to the repository can use this endpoint.
///
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/codespaces/secrets/public-key`.
Expand Down Expand Up @@ -939,8 +937,6 @@ extension APIProtocol {
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
///
/// Anyone with read access to the repository can use this endpoint.
///
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/codespaces/secrets/public-key`.
Expand Down Expand Up @@ -12384,8 +12380,6 @@ public enum Operations {
/// Gets your public key, which you need to encrypt secrets. You need to
/// encrypt a secret before you can create or update secrets.
///
/// Anyone with read access to the repository can use this endpoint.
///
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/codespaces/secrets/public-key`.
Expand Down
2 changes: 1 addition & 1 deletion Sources/copilot/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ public enum Components {
case inactive_this_cycle
}
}
/// Information about the seat breakdown and policies set for an organization with a Copilot Business subscription.
/// Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription.
///
/// - Remark: Generated from `#/components/schemas/copilot-organization-details`.
public struct copilot_hyphen_organization_hyphen_details: Codable, Hashable, Sendable {
Expand Down
2 changes: 1 addition & 1 deletion Sources/orgs/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6735,7 +6735,7 @@ public struct Client: APIProtocol {
///
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
///
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.
///
/// - Remark: HTTP `POST /orgs/{org}/{security_product}/{enablement}`.
/// - Remark: Generated from `#/paths//orgs/{org}/{security_product}/{enablement}/post(orgs/enable-or-disable-security-product-on-all-org-repos)`.
Expand Down
6 changes: 3 additions & 3 deletions Sources/orgs/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ public protocol APIProtocol: Sendable {
///
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
///
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.
///
/// - Remark: HTTP `POST /orgs/{org}/{security_product}/{enablement}`.
/// - Remark: Generated from `#/paths//orgs/{org}/{security_product}/{enablement}/post(orgs/enable-or-disable-security-product-on-all-org-repos)`.
Expand Down Expand Up @@ -1966,7 +1966,7 @@ extension APIProtocol {
///
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
///
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.
///
/// - Remark: HTTP `POST /orgs/{org}/{security_product}/{enablement}`.
/// - Remark: Generated from `#/paths//orgs/{org}/{security_product}/{enablement}/post(orgs/enable-or-disable-security-product-on-all-org-repos)`.
Expand Down Expand Up @@ -20384,7 +20384,7 @@ public enum Operations {
///
/// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
///
/// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
/// OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.
///
/// - Remark: HTTP `POST /orgs/{org}/{security_product}/{enablement}`.
/// - Remark: Generated from `#/paths//orgs/{org}/{security_product}/{enablement}/post(orgs/enable-or-disable-security-product-on-all-org-repos)`.
Expand Down
24 changes: 13 additions & 11 deletions Sources/repos/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13169,6 +13169,7 @@ public enum Components {
@frozen public enum evaluation_resultPayload: String, Codable, Hashable, Sendable {
case pass = "pass"
case fail = "fail"
case bypass = "bypass"
}
/// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.
///
Expand Down Expand Up @@ -13281,14 +13282,15 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/rule-suite/result`.
public var result: Components.Schemas.rule_hyphen_suite.resultPayload?
/// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.
/// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.
///
/// - Remark: Generated from `#/components/schemas/rule-suite/evaluation_result`.
@frozen public enum evaluation_resultPayload: String, Codable, Hashable, Sendable {
case pass = "pass"
case fail = "fail"
case bypass = "bypass"
}
/// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.
/// The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.
///
/// - Remark: Generated from `#/components/schemas/rule-suite/evaluation_result`.
public var evaluation_result: Components.Schemas.rule_hyphen_suite.evaluation_resultPayload?
Expand Down Expand Up @@ -13358,7 +13360,7 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/rule-suite/rule_evaluationsPayload/rule_type`.
public var rule_type: Swift.String?
/// Any associated details with the rule evaluation.
/// The detailed failure message for the rule. Null if the rule passed.
///
/// - Remark: Generated from `#/components/schemas/rule-suite/rule_evaluationsPayload/details`.
public var details: Swift.String?
Expand All @@ -13369,7 +13371,7 @@ public enum Components {
/// - enforcement: The enforcement level of this rule source.
/// - result: The result of the evaluation of the individual rule.
/// - rule_type: The type of rule.
/// - details: Any associated details with the rule evaluation.
/// - details: The detailed failure message for the rule. Null if the rule passed.
public init(
rule_source: Components.Schemas.rule_hyphen_suite.rule_evaluationsPayloadPayload.rule_sourcePayload? = nil,
enforcement: Components.Schemas.rule_hyphen_suite.rule_evaluationsPayloadPayload.enforcementPayload? = nil,
Expand Down Expand Up @@ -13412,7 +13414,7 @@ public enum Components {
/// - repository_name: The name of the repository without the `.git` extension.
/// - pushed_at:
/// - result: The result of the rule evaluations for rules with the `active` enforcement status.
/// - evaluation_result: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.
/// - evaluation_result: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.
/// - rule_evaluations: Details on the evaluated rules.
public init(
id: Swift.Int? = nil,
Expand Down Expand Up @@ -17673,6 +17675,8 @@ public enum Components {
public var path: Swift.String
/// - Remark: Generated from `#/components/schemas/content-tree/sha`.
public var sha: Swift.String
/// - Remark: Generated from `#/components/schemas/content-tree/content`.
public var content: Swift.String?
/// - Remark: Generated from `#/components/schemas/content-tree/url`.
public var url: Swift.String
/// - Remark: Generated from `#/components/schemas/content-tree/git_url`.
Expand All @@ -17691,8 +17695,6 @@ public enum Components {
public var name: Swift.String
/// - Remark: Generated from `#/components/schemas/content-tree/entriesPayload/path`.
public var path: Swift.String
/// - Remark: Generated from `#/components/schemas/content-tree/entriesPayload/content`.
public var content: Swift.String?
/// - Remark: Generated from `#/components/schemas/content-tree/entriesPayload/sha`.
public var sha: Swift.String
/// - Remark: Generated from `#/components/schemas/content-tree/entriesPayload/url`.
Expand Down Expand Up @@ -17741,7 +17743,6 @@ public enum Components {
/// - size:
/// - name:
/// - path:
/// - content:
/// - sha:
/// - url:
/// - git_url:
Expand All @@ -17753,7 +17754,6 @@ public enum Components {
size: Swift.Int,
name: Swift.String,
path: Swift.String,
content: Swift.String? = nil,
sha: Swift.String,
url: Swift.String,
git_url: Swift.String? = nil,
Expand All @@ -17765,7 +17765,6 @@ public enum Components {
self.size = size
self.name = name
self.path = path
self.content = content
self.sha = sha
self.url = url
self.git_url = git_url
Expand All @@ -17778,7 +17777,6 @@ public enum Components {
case size
case name
case path
case content
case sha
case url
case git_url
Expand Down Expand Up @@ -17830,6 +17828,7 @@ public enum Components {
/// - name:
/// - path:
/// - sha:
/// - content:
/// - url:
/// - git_url:
/// - html_url:
Expand All @@ -17842,6 +17841,7 @@ public enum Components {
name: Swift.String,
path: Swift.String,
sha: Swift.String,
content: Swift.String? = nil,
url: Swift.String,
git_url: Swift.String? = nil,
html_url: Swift.String? = nil,
Expand All @@ -17854,6 +17854,7 @@ public enum Components {
self.name = name
self.path = path
self.sha = sha
self.content = content
self.url = url
self.git_url = git_url
self.html_url = html_url
Expand All @@ -17867,6 +17868,7 @@ public enum Components {
case name
case path
case sha
case content
case url
case git_url
case html_url
Expand Down
2 changes: 1 addition & 1 deletion Submodule/github/rest-api-description