Skip to content

Bump Submodule/github/rest-api-description from 5b32856 to cf0948f #82

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
Show all changes
28 commits
Select commit Hold shift + click to select a range
7ec5467
Bump Submodule/github/rest-api-description from `5b32856` to `cf0948f`
dependabot[bot] Oct 21, 2024
aa7c3ce
Commit via running ake Sources/actions
dependabot[bot] Oct 21, 2024
b047036
Commit via running ake Sources/activity
dependabot[bot] Oct 21, 2024
78512e3
Commit via running ake Sources/apps
dependabot[bot] Oct 21, 2024
65b1610
Commit via running ake Sources/checks
dependabot[bot] Oct 21, 2024
11b2456
Commit via running ake Sources/code-scanning
dependabot[bot] Oct 21, 2024
83a5f5c
Commit via running ake Sources/dependabot
dependabot[bot] Oct 21, 2024
fc6b1fd
Commit via running ake Sources/gists
dependabot[bot] Oct 21, 2024
75558dc
Commit via running ake Sources/issues
dependabot[bot] Oct 21, 2024
08b15ec
Commit via running ake Sources/migrations
dependabot[bot] Oct 21, 2024
5d916f7
Commit via running ake Sources/orgs
dependabot[bot] Oct 21, 2024
0a79744
Commit via running ake Sources/packages
dependabot[bot] Oct 21, 2024
0dd5145
Commit via running ake Sources/projects
dependabot[bot] Oct 21, 2024
6852075
Commit via running ake Sources/pulls
dependabot[bot] Oct 21, 2024
9534d0a
Commit via running ake Sources/rate-limit
dependabot[bot] Oct 21, 2024
c029fe0
Commit via running ake Sources/reactions
dependabot[bot] Oct 21, 2024
1408ae7
Commit via running ake Sources/repos
dependabot[bot] Oct 21, 2024
88a4049
Commit via running ake Sources/search
dependabot[bot] Oct 21, 2024
4a049be
Commit via running ake Sources/secret-scanning
dependabot[bot] Oct 21, 2024
86fe37d
Commit via running ake Sources/teams
dependabot[bot] Oct 21, 2024
c5f5135
Commit via running ake Sources/users
dependabot[bot] Oct 21, 2024
9c92253
Commit via running ake Sources/codespaces
dependabot[bot] Oct 21, 2024
b62b30e
Commit via running ake Sources/copilot
dependabot[bot] Oct 21, 2024
6aeff9f
Commit via running ake Sources/security-advisories
dependabot[bot] Oct 21, 2024
4447de6
Commit via running ake Sources/code-security
dependabot[bot] Oct 21, 2024
071a45f
Commit via running ake Sources/private-registries
dependabot[bot] Oct 21, 2024
7f880d4
Commit via running ake Package.swift
dependabot[bot] Oct 21, 2024
7f5bf48
Commit via running ake .spi.yml
dependabot[bot] Oct 21, 2024
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
1 change: 1 addition & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ builder:
- GitHubRestAPIOidc
- GitHubRestAPIOrgs
- GitHubRestAPIPackages
- GitHubRestAPIPrivate_Registries
- GitHubRestAPIProjects
- GitHubRestAPIPulls
- GitHubRestAPIRate_Limit
Expand Down
9 changes: 9 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ let package = Package(
.library(name: "GitHubRestAPIOidc", targets: ["GitHubRestAPIOidc"]),
.library(name: "GitHubRestAPIOrgs", targets: ["GitHubRestAPIOrgs"]),
.library(name: "GitHubRestAPIPackages", targets: ["GitHubRestAPIPackages"]),
.library(name: "GitHubRestAPIPrivate_Registries", targets: ["GitHubRestAPIPrivate_Registries"]),
.library(name: "GitHubRestAPIProjects", targets: ["GitHubRestAPIProjects"]),
.library(name: "GitHubRestAPIPulls", targets: ["GitHubRestAPIPulls"]),
.library(name: "GitHubRestAPIRate_Limit", targets: ["GitHubRestAPIRate_Limit"]),
Expand Down Expand Up @@ -288,6 +289,14 @@ let package = Package(
],
path: "Sources/packages"
),
.target(
name: "GitHubRestAPIPrivate_Registries",
dependencies: [
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
],
path: "Sources/private-registries"
),
.target(
name: "GitHubRestAPIProjects",
dependencies: [
Expand Down
798 changes: 798 additions & 0 deletions Sources/actions/Client.swift

Large diffs are not rendered by default.

2,262 changes: 2,257 additions & 5 deletions Sources/actions/Types.swift

Large diffs are not rendered by default.

48 changes: 43 additions & 5 deletions Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,8 @@ public enum Components {
public var site_admin: Swift.Bool
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
public var starred_at: Swift.String?
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
public var user_view_type: Swift.String?
/// Creates a new `simple_hyphen_user`.
///
/// - Parameters:
Expand All @@ -913,6 +915,7 @@ public enum Components {
/// - _type:
/// - site_admin:
/// - starred_at:
/// - user_view_type:
public init(
name: Swift.String? = nil,
email: Swift.String? = nil,
Expand All @@ -934,7 +937,8 @@ public enum Components {
received_events_url: Swift.String,
_type: Swift.String,
site_admin: Swift.Bool,
starred_at: Swift.String? = nil
starred_at: Swift.String? = nil,
user_view_type: Swift.String? = nil
) {
self.name = name
self.email = email
Expand All @@ -957,6 +961,7 @@ public enum Components {
self._type = _type
self.site_admin = site_admin
self.starred_at = starred_at
self.user_view_type = user_view_type
}
public enum CodingKeys: String, CodingKey {
case name
Expand All @@ -980,6 +985,7 @@ public enum Components {
case _type = "type"
case site_admin
case starred_at
case user_view_type
}
}
/// Basic Error
Expand Down Expand Up @@ -1065,6 +1071,8 @@ public enum Components {
public var site_admin: Swift.Bool
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
public var starred_at: Swift.String?
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
public var user_view_type: Swift.String?
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
///
/// - Parameters:
Expand All @@ -1089,6 +1097,7 @@ public enum Components {
/// - _type:
/// - site_admin:
/// - starred_at:
/// - user_view_type:
public init(
name: Swift.String? = nil,
email: Swift.String? = nil,
Expand All @@ -1110,7 +1119,8 @@ public enum Components {
received_events_url: Swift.String,
_type: Swift.String,
site_admin: Swift.Bool,
starred_at: Swift.String? = nil
starred_at: Swift.String? = nil,
user_view_type: Swift.String? = nil
) {
self.name = name
self.email = email
Expand All @@ -1133,6 +1143,7 @@ public enum Components {
self._type = _type
self.site_admin = site_admin
self.starred_at = starred_at
self.user_view_type = user_view_type
}
public enum CodingKeys: String, CodingKey {
case name
Expand All @@ -1156,6 +1167,7 @@ public enum Components {
case _type = "type"
case site_admin
case starred_at
case user_view_type
}
}
/// Validation Error
Expand Down Expand Up @@ -1580,7 +1592,7 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/repository/allow_update_branch`.
public var allow_update_branch: Swift.Bool?
/// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
/// Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
///
/// - Remark: Generated from `#/components/schemas/repository/use_squash_pr_title_as_default`.
@available(*, deprecated)
Expand Down Expand Up @@ -1768,7 +1780,7 @@ public enum Components {
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
/// - squash_merge_commit_title: The default value for a squash merge commit title:
/// - squash_merge_commit_message: The default value for a squash merge commit message:
/// - merge_commit_title: The default value for a merge commit title.
Expand Down Expand Up @@ -3547,6 +3559,28 @@ public enum Components {
}
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
public var secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload?
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
public struct secret_scanning_ai_detectionPayload: Codable, Hashable, Sendable {
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
@frozen public enum statusPayload: String, Codable, Hashable, Sendable {
case enabled = "enabled"
case disabled = "disabled"
}
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
public var status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload?
/// Creates a new `secret_scanning_ai_detectionPayload`.
///
/// - Parameters:
/// - status:
public init(status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload? = nil) {
self.status = status
}
public enum CodingKeys: String, CodingKey {
case status
}
}
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
public var secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload?
/// Creates a new `security_hyphen_and_hyphen_analysis`.
///
/// - Parameters:
Expand All @@ -3555,25 +3589,29 @@ public enum Components {
/// - secret_scanning:
/// - secret_scanning_push_protection:
/// - secret_scanning_non_provider_patterns:
/// - secret_scanning_ai_detection:
public init(
advanced_security: Components.Schemas.security_hyphen_and_hyphen_analysis.advanced_securityPayload? = nil,
dependabot_security_updates: Components.Schemas.security_hyphen_and_hyphen_analysis.dependabot_security_updatesPayload? = nil,
secret_scanning: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanningPayload? = nil,
secret_scanning_push_protection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_push_protectionPayload? = nil,
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil
secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload? = nil,
secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload? = nil
) {
self.advanced_security = advanced_security
self.dependabot_security_updates = dependabot_security_updates
self.secret_scanning = secret_scanning
self.secret_scanning_push_protection = secret_scanning_push_protection
self.secret_scanning_non_provider_patterns = secret_scanning_non_provider_patterns
self.secret_scanning_ai_detection = secret_scanning_ai_detection
}
public enum CodingKeys: String, CodingKey {
case advanced_security
case dependabot_security_updates
case secret_scanning
case secret_scanning_push_protection
case secret_scanning_non_provider_patterns
case secret_scanning_ai_detection
}
}
/// Minimal Repository
Expand Down
Loading