Skip to content

Commit efdcea9

Browse files
Commit via running ake Sources/code-scanning
1 parent 2832069 commit efdcea9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Sources/code-scanning/Client.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,6 +2083,8 @@ public struct Client: APIProtocol {
20832083
///
20842084
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
20852085
///
2086+
/// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it.
2087+
///
20862088
/// - Remark: HTTP `POST /repos/{owner}/{repo}/code-scanning/sarifs`.
20872089
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/code-scanning/sarifs/post(code-scanning/upload-sarif)`.
20882090
public func code_hyphen_scanning_sol_upload_hyphen_sarif(_ input: Operations.code_hyphen_scanning_sol_upload_hyphen_sarif.Input) async throws -> Operations.code_hyphen_scanning_sol_upload_hyphen_sarif.Output {

Sources/code-scanning/Types.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ public protocol APIProtocol: Sendable {
252252
///
253253
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
254254
///
255+
/// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it.
256+
///
255257
/// - Remark: HTTP `POST /repos/{owner}/{repo}/code-scanning/sarifs`.
256258
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/code-scanning/sarifs/post(code-scanning/upload-sarif)`.
257259
func code_hyphen_scanning_sol_upload_hyphen_sarif(_ input: Operations.code_hyphen_scanning_sol_upload_hyphen_sarif.Input) async throws -> Operations.code_hyphen_scanning_sol_upload_hyphen_sarif.Output
@@ -618,6 +620,8 @@ extension APIProtocol {
618620
///
619621
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
620622
///
623+
/// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it.
624+
///
621625
/// - Remark: HTTP `POST /repos/{owner}/{repo}/code-scanning/sarifs`.
622626
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/code-scanning/sarifs/post(code-scanning/upload-sarif)`.
623627
public func code_hyphen_scanning_sol_upload_hyphen_sarif(
@@ -6277,6 +6281,8 @@ public enum Operations {
62776281
///
62786282
/// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
62796283
///
6284+
/// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it.
6285+
///
62806286
/// - Remark: HTTP `POST /repos/{owner}/{repo}/code-scanning/sarifs`.
62816287
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/code-scanning/sarifs/post(code-scanning/upload-sarif)`.
62826288
public enum code_hyphen_scanning_sol_upload_hyphen_sarif {

0 commit comments

Comments
 (0)