Skip to content

Commit e47bc7d

Browse files
Commit via running: make Sources/dependabot
1 parent 515625d commit e47bc7d

File tree

2 files changed

+509
-45
lines changed

2 files changed

+509
-45
lines changed

Sources/dependabot/Client.swift

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,20 @@ public struct Client: APIProtocol {
298298
method: .get
299299
)
300300
suppressMutabilityWarning(&request)
301+
try converter.setQueryItemAsURI(
302+
in: &request,
303+
style: .form,
304+
explode: true,
305+
name: "page",
306+
value: input.query.page
307+
)
308+
try converter.setQueryItemAsURI(
309+
in: &request,
310+
style: .form,
311+
explode: true,
312+
name: "per_page",
313+
value: input.query.perPage
314+
)
301315
converter.setAcceptHeader(
302316
in: &request.headerFields,
303317
contentTypes: input.headers.accept
@@ -390,6 +404,14 @@ public struct Client: APIProtocol {
390404
/// > This operation supports both server-to-server and user-to-server access.
391405
/// Unauthorized users will not see the existence of this endpoint.
392406
///
407+
/// **Example request body:**
408+
/// ```json
409+
/// {
410+
/// "repository_ids_to_add": [123, 456],
411+
/// "repository_ids_to_remove": [789]
412+
/// }
413+
/// ```
414+
///
393415
/// - Remark: HTTP `PATCH /organizations/{org}/dependabot/repository-access`.
394416
/// - Remark: Generated from `#/paths//organizations/{org}/dependabot/repository-access/patch(dependabot/update-repository-access-for-org)`.
395417
public func dependabotUpdateRepositoryAccessForOrg(_ input: Operations.DependabotUpdateRepositoryAccessForOrg.Input) async throws -> Operations.DependabotUpdateRepositoryAccessForOrg.Output {

0 commit comments

Comments
 (0)