Skip to content

Commit 0f61eb4

Browse files
Merge pull request #113 from Wei18/dependabot/submodules/Submodule/github/rest-api-description-8af3e59
Bump Submodule/github/rest-api-description from `a3b9020` to `8af3e59`
2 parents 4ee0642 + 8f38ac8 commit 0f61eb4

File tree

5 files changed

+213
-17
lines changed

5 files changed

+213
-17
lines changed

Sources/checks/Client.swift

-4
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,6 @@ public struct Client: APIProtocol {
366366
///
367367
/// For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
368368
///
369-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
370-
///
371369
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest`.
372370
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest/post(checks/rerequest-run)`.
373371
public func checks_sol_rerequest_hyphen_run(_ input: Operations.checks_sol_rerequest_hyphen_run.Input) async throws -> Operations.checks_sol_rerequest_hyphen_run.Output {
@@ -861,8 +859,6 @@ public struct Client: APIProtocol {
861859
///
862860
/// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
863861
///
864-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
865-
///
866862
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest`.
867863
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest/post(checks/rerequest-suite)`.
868864
public func checks_sol_rerequest_hyphen_suite(_ input: Operations.checks_sol_rerequest_hyphen_suite.Input) async throws -> Operations.checks_sol_rerequest_hyphen_suite.Output {

Sources/checks/Types.swift

-12
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ public protocol APIProtocol: Sendable {
6464
///
6565
/// For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
6666
///
67-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
68-
///
6967
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest`.
7068
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest/post(checks/rerequest-run)`.
7169
func checks_sol_rerequest_hyphen_run(_ input: Operations.checks_sol_rerequest_hyphen_run.Input) async throws -> Operations.checks_sol_rerequest_hyphen_run.Output
@@ -117,8 +115,6 @@ public protocol APIProtocol: Sendable {
117115
///
118116
/// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
119117
///
120-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
121-
///
122118
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest`.
123119
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest/post(checks/rerequest-suite)`.
124120
func checks_sol_rerequest_hyphen_suite(_ input: Operations.checks_sol_rerequest_hyphen_suite.Input) async throws -> Operations.checks_sol_rerequest_hyphen_suite.Output
@@ -243,8 +239,6 @@ extension APIProtocol {
243239
///
244240
/// For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
245241
///
246-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
247-
///
248242
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest`.
249243
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest/post(checks/rerequest-run)`.
250244
public func checks_sol_rerequest_hyphen_run(
@@ -342,8 +336,6 @@ extension APIProtocol {
342336
///
343337
/// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
344338
///
345-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
346-
///
347339
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest`.
348340
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest/post(checks/rerequest-suite)`.
349341
public func checks_sol_rerequest_hyphen_suite(
@@ -3607,8 +3599,6 @@ public enum Operations {
36073599
///
36083600
/// For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
36093601
///
3610-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
3611-
///
36123602
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest`.
36133603
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest/post(checks/rerequest-run)`.
36143604
public enum checks_sol_rerequest_hyphen_run {
@@ -4711,8 +4701,6 @@ public enum Operations {
47114701
///
47124702
/// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
47134703
///
4714-
/// OAuth apps and personal access tokens (classic) cannot use this endpoint.
4715-
///
47164704
/// - Remark: HTTP `POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest`.
47174705
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest/post(checks/rerequest-suite)`.
47184706
public enum checks_sol_rerequest_hyphen_suite {

Sources/dependabot/Client.swift

+21
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ public struct Client: APIProtocol {
101101
name: "epss_percentage",
102102
value: input.query.epss_percentage
103103
)
104+
try converter.setQueryItemAsURI(
105+
in: &request,
106+
style: .form,
107+
explode: true,
108+
name: "has",
109+
value: input.query.has
110+
)
104111
try converter.setQueryItemAsURI(
105112
in: &request,
106113
style: .form,
@@ -328,6 +335,13 @@ public struct Client: APIProtocol {
328335
name: "epss_percentage",
329336
value: input.query.epss_percentage
330337
)
338+
try converter.setQueryItemAsURI(
339+
in: &request,
340+
style: .form,
341+
explode: true,
342+
name: "has",
343+
value: input.query.has
344+
)
331345
try converter.setQueryItemAsURI(
332346
in: &request,
333347
style: .form,
@@ -1167,6 +1181,13 @@ public struct Client: APIProtocol {
11671181
name: "epss_percentage",
11681182
value: input.query.epss_percentage
11691183
)
1184+
try converter.setQueryItemAsURI(
1185+
in: &request,
1186+
style: .form,
1187+
explode: true,
1188+
name: "has",
1189+
value: input.query.has
1190+
)
11701191
try converter.setQueryItemAsURI(
11711192
in: &request,
11721193
style: .form,

0 commit comments

Comments
 (0)