Skip to content

Bump Submodule/github/rest-api-description from e5a5460 to 6c0baea #46

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
2 changes: 2 additions & 0 deletions Sources/actions/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5925,6 +5925,8 @@ public struct Client: APIProtocol {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
public func actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo(_ input: Operations.actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo.Input) async throws -> Operations.actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo.Output {
Expand Down
6 changes: 6 additions & 0 deletions Sources/actions/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,8 @@ public protocol APIProtocol: Sendable {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
func actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo(_ input: Operations.actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo.Input) async throws -> Operations.actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo.Output
Expand Down Expand Up @@ -2843,6 +2845,8 @@ extension APIProtocol {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
public func actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo(
Expand Down Expand Up @@ -21159,6 +21163,8 @@ public enum Operations {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
public enum actions_sol_list_hyphen_workflow_hyphen_runs_hyphen_for_hyphen_repo {
Expand Down
8 changes: 8 additions & 0 deletions Sources/activity/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ public struct Client: APIProtocol {
}
/// List public events for a network of repositories
///
///
///
/// - Remark: HTTP `GET /networks/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//networks/{owner}/{repo}/events/get(activity/list-public-events-for-repo-network)`.
public func activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network(_ input: Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network.Output {
Expand Down Expand Up @@ -1227,6 +1229,8 @@ public struct Client: APIProtocol {
}
/// List public organization events
///
///
///
/// - Remark: HTTP `GET /orgs/{org}/events`.
/// - Remark: Generated from `#/paths//orgs/{org}/events/get(activity/list-public-org-events)`.
public func activity_sol_list_hyphen_public_hyphen_org_hyphen_events(_ input: Operations.activity_sol_list_hyphen_public_hyphen_org_hyphen_events.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_org_hyphen_events.Output {
Expand Down Expand Up @@ -2765,6 +2769,8 @@ public struct Client: APIProtocol {
}
/// List public events for a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/events/public`.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
public func activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user(_ input: Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Output {
Expand Down Expand Up @@ -2919,6 +2925,8 @@ public struct Client: APIProtocol {
}
/// List public events received by a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/received_events/public`.
/// - Remark: Generated from `#/paths//users/{username}/received_events/public/get(activity/list-received-public-events-for-user)`.
public func activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user(_ input: Operations.activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Output {
Expand Down
24 changes: 24 additions & 0 deletions Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public protocol APIProtocol: Sendable {
func activity_sol_get_hyphen_feeds(_ input: Operations.activity_sol_get_hyphen_feeds.Input) async throws -> Operations.activity_sol_get_hyphen_feeds.Output
/// List public events for a network of repositories
///
///
///
/// - Remark: HTTP `GET /networks/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//networks/{owner}/{repo}/events/get(activity/list-public-events-for-repo-network)`.
func activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network(_ input: Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network.Output
Expand Down Expand Up @@ -106,6 +108,8 @@ public protocol APIProtocol: Sendable {
func activity_sol_delete_hyphen_thread_hyphen_subscription(_ input: Operations.activity_sol_delete_hyphen_thread_hyphen_subscription.Input) async throws -> Operations.activity_sol_delete_hyphen_thread_hyphen_subscription.Output
/// List public organization events
///
///
///
/// - Remark: HTTP `GET /orgs/{org}/events`.
/// - Remark: Generated from `#/paths//orgs/{org}/events/get(activity/list-public-org-events)`.
func activity_sol_list_hyphen_public_hyphen_org_hyphen_events(_ input: Operations.activity_sol_list_hyphen_public_hyphen_org_hyphen_events.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_org_hyphen_events.Output
Expand Down Expand Up @@ -225,6 +229,8 @@ public protocol APIProtocol: Sendable {
func activity_sol_list_hyphen_org_hyphen_events_hyphen_for_hyphen_authenticated_hyphen_user(_ input: Operations.activity_sol_list_hyphen_org_hyphen_events_hyphen_for_hyphen_authenticated_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_org_hyphen_events_hyphen_for_hyphen_authenticated_hyphen_user.Output
/// List public events for a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/events/public`.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
func activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user(_ input: Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Output
Expand All @@ -237,6 +243,8 @@ public protocol APIProtocol: Sendable {
func activity_sol_list_hyphen_received_hyphen_events_hyphen_for_hyphen_user(_ input: Operations.activity_sol_list_hyphen_received_hyphen_events_hyphen_for_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_received_hyphen_events_hyphen_for_hyphen_user.Output
/// List public events received by a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/received_events/public`.
/// - Remark: Generated from `#/paths//users/{username}/received_events/public/get(activity/list-received-public-events-for-user)`.
func activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user(_ input: Operations.activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Input) async throws -> Operations.activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user.Output
Expand Down Expand Up @@ -300,6 +308,8 @@ extension APIProtocol {
}
/// List public events for a network of repositories
///
///
///
/// - Remark: HTTP `GET /networks/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//networks/{owner}/{repo}/events/get(activity/list-public-events-for-repo-network)`.
public func activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network(
Expand Down Expand Up @@ -437,6 +447,8 @@ extension APIProtocol {
}
/// List public organization events
///
///
///
/// - Remark: HTTP `GET /orgs/{org}/events`.
/// - Remark: Generated from `#/paths//orgs/{org}/events/get(activity/list-public-org-events)`.
public func activity_sol_list_hyphen_public_hyphen_org_hyphen_events(
Expand Down Expand Up @@ -696,6 +708,8 @@ extension APIProtocol {
}
/// List public events for a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/events/public`.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
public func activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user(
Expand Down Expand Up @@ -728,6 +742,8 @@ extension APIProtocol {
}
/// List public events received by a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/received_events/public`.
/// - Remark: Generated from `#/paths//users/{username}/received_events/public/get(activity/list-received-public-events-for-user)`.
public func activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user(
Expand Down Expand Up @@ -4994,6 +5010,8 @@ public enum Operations {
}
/// List public events for a network of repositories
///
///
///
/// - Remark: HTTP `GET /networks/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//networks/{owner}/{repo}/events/get(activity/list-public-events-for-repo-network)`.
public enum activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_repo_hyphen_network {
Expand Down Expand Up @@ -6825,6 +6843,8 @@ public enum Operations {
}
/// List public organization events
///
///
///
/// - Remark: HTTP `GET /orgs/{org}/events`.
/// - Remark: Generated from `#/paths//orgs/{org}/events/get(activity/list-public-org-events)`.
public enum activity_sol_list_hyphen_public_hyphen_org_hyphen_events {
Expand Down Expand Up @@ -9972,6 +9992,8 @@ public enum Operations {
}
/// List public events for a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/events/public`.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
public enum activity_sol_list_hyphen_public_hyphen_events_hyphen_for_hyphen_user {
Expand Down Expand Up @@ -10288,6 +10310,8 @@ public enum Operations {
}
/// List public events received by a user
///
///
///
/// - Remark: HTTP `GET /users/{username}/received_events/public`.
/// - Remark: Generated from `#/paths//users/{username}/received_events/public/get(activity/list-received-public-events-for-user)`.
public enum activity_sol_list_hyphen_received_hyphen_public_hyphen_events_hyphen_for_hyphen_user {
Expand Down
14 changes: 14 additions & 0 deletions Sources/gists/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,8 @@ public struct Client: APIProtocol {
}
/// Delete a gist
///
///
///
/// - Remark: HTTP `DELETE /gists/{gist_id}`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/delete(gists/delete)`.
public func gists_sol_delete(_ input: Operations.gists_sol_delete.Input) async throws -> Operations.gists_sol_delete.Output {
Expand Down Expand Up @@ -1395,6 +1397,8 @@ public struct Client: APIProtocol {
}
/// Delete a gist comment
///
///
///
/// - Remark: HTTP `DELETE /gists/{gist_id}/comments/{comment_id}`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/comments/{comment_id}/delete(gists/delete-comment)`.
public func gists_sol_delete_hyphen_comment(_ input: Operations.gists_sol_delete_hyphen_comment.Input) async throws -> Operations.gists_sol_delete_hyphen_comment.Output {
Expand Down Expand Up @@ -1484,6 +1488,8 @@ public struct Client: APIProtocol {
}
/// List gist commits
///
///
///
/// - Remark: HTTP `GET /gists/{gist_id}/commits`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/commits/get(gists/list-commits)`.
public func gists_sol_list_hyphen_commits(_ input: Operations.gists_sol_list_hyphen_commits.Input) async throws -> Operations.gists_sol_list_hyphen_commits.Output {
Expand Down Expand Up @@ -1614,6 +1620,8 @@ public struct Client: APIProtocol {
}
/// List gist forks
///
///
///
/// - Remark: HTTP `GET /gists/{gist_id}/forks`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/forks/get(gists/list-forks)`.
public func gists_sol_list_hyphen_forks(_ input: Operations.gists_sol_list_hyphen_forks.Input) async throws -> Operations.gists_sol_list_hyphen_forks.Output {
Expand Down Expand Up @@ -1744,6 +1752,8 @@ public struct Client: APIProtocol {
}
/// Fork a gist
///
///
///
/// - Remark: HTTP `POST /gists/{gist_id}/forks`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/forks/post(gists/fork)`.
public func gists_sol_fork(_ input: Operations.gists_sol_fork.Input) async throws -> Operations.gists_sol_fork.Output {
Expand Down Expand Up @@ -1882,6 +1892,8 @@ public struct Client: APIProtocol {
}
/// Check if a gist is starred
///
///
///
/// - Remark: HTTP `GET /gists/{gist_id}/star`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/star/get(gists/check-is-starred)`.
public func gists_sol_check_hyphen_is_hyphen_starred(_ input: Operations.gists_sol_check_hyphen_is_hyphen_starred.Input) async throws -> Operations.gists_sol_check_hyphen_is_hyphen_starred.Output {
Expand Down Expand Up @@ -2060,6 +2072,8 @@ public struct Client: APIProtocol {
}
/// Unstar a gist
///
///
///
/// - Remark: HTTP `DELETE /gists/{gist_id}/star`.
/// - Remark: Generated from `#/paths//gists/{gist_id}/star/delete(gists/unstar)`.
public func gists_sol_unstar(_ input: Operations.gists_sol_unstar.Input) async throws -> Operations.gists_sol_unstar.Output {
Expand Down
Loading