Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e1785a8
Bump Submodule/github/rest-api-description from `ebc1fec` to `d5aff63`
dependabot[bot] Mar 22, 2026
b74394e
Commit via running: make Sources/actions
dependabot[bot] Mar 22, 2026
9828943
Commit via running: make Sources/activity
dependabot[bot] Mar 22, 2026
75ec156
Commit via running: make Sources/apps
dependabot[bot] Mar 22, 2026
ce75758
Commit via running: make Sources/billing
dependabot[bot] Mar 22, 2026
1b6fb1a
Commit via running: make Sources/checks
dependabot[bot] Mar 22, 2026
d22e497
Commit via running: make Sources/code-scanning
dependabot[bot] Mar 22, 2026
239e865
Commit via running: make Sources/emojis
dependabot[bot] Mar 22, 2026
84ea8f1
Commit via running: make Sources/dependabot
dependabot[bot] Mar 22, 2026
40e865a
Commit via running: make Sources/dependency-graph
dependabot[bot] Mar 22, 2026
02c1485
Commit via running: make Sources/gists
dependabot[bot] Mar 22, 2026
9c8e259
Commit via running: make Sources/git
dependabot[bot] Mar 22, 2026
9f77a43
Commit via running: make Sources/issues
dependabot[bot] Mar 22, 2026
a73e548
Commit via running: make Sources/migrations
dependabot[bot] Mar 22, 2026
5e4f789
Commit via running: make Sources/oidc
dependabot[bot] Mar 22, 2026
fc9683c
Commit via running: make Sources/orgs
dependabot[bot] Mar 22, 2026
5c8d5fc
Commit via running: make Sources/packages
dependabot[bot] Mar 22, 2026
4101314
Commit via running: make Sources/pulls
dependabot[bot] Mar 22, 2026
8a21209
Commit via running: make Sources/reactions
dependabot[bot] Mar 22, 2026
3d96f64
Commit via running: make Sources/repos
dependabot[bot] Mar 22, 2026
6488a81
Commit via running: make Sources/search
dependabot[bot] Mar 22, 2026
92a6f36
Commit via running: make Sources/secret-scanning
dependabot[bot] Mar 22, 2026
94566e6
Commit via running: make Sources/teams
dependabot[bot] Mar 22, 2026
81e439d
Commit via running: make Sources/users
dependabot[bot] Mar 22, 2026
8ad699a
Commit via running: make Sources/codespaces
dependabot[bot] Mar 22, 2026
c4b5259
Commit via running: make Sources/copilot
dependabot[bot] Mar 22, 2026
38ed3a1
Commit via running: make Sources/security-advisories
dependabot[bot] Mar 22, 2026
770ce07
Commit via running: make Sources/interactions
dependabot[bot] Mar 22, 2026
41cc3c1
Commit via running: make Sources/code-security
dependabot[bot] Mar 22, 2026
b79e0d4
Commit via running: make Sources/private-registries
dependabot[bot] Mar 22, 2026
a36b3ad
Commit via running: make Sources/hosted-compute
dependabot[bot] Mar 22, 2026
a10b807
Commit via running: make Sources/campaigns
dependabot[bot] Mar 22, 2026
9fb12f6
Commit via running: make Sources/projects
dependabot[bot] Mar 22, 2026
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
4,831 changes: 3,160 additions & 1,671 deletions Sources/actions/Client.swift

Large diffs are not rendered by default.

4,035 changes: 3,589 additions & 446 deletions Sources/actions/Types.swift

Large diffs are not rendered by default.

4,860 changes: 4,063 additions & 797 deletions Sources/activity/Types.swift

Large diffs are not rendered by default.

223 changes: 177 additions & 46 deletions Sources/apps/Types.swift

Large diffs are not rendered by default.

1,285 changes: 1,024 additions & 261 deletions Sources/billing/Client.swift

Large diffs are not rendered by default.

4,151 changes: 3,028 additions & 1,123 deletions Sources/billing/Types.swift

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Sources/campaigns/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ public enum Components {
case closedCount = "closed_count"
case inProgressCount = "in_progress_count"
}
public init(from decoder: any Decoder) throws {
public init(from decoder: any Swift.Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
self.openCount = try container.decode(
Swift.Int.self,
Expand Down Expand Up @@ -1310,8 +1310,8 @@ public enum Operations {
}
/// - Remark: Generated from `#/paths/orgs/{org}/campaigns/POST/requestBody/json/case2`.
case case2(Operations.CampaignsCreateCampaign.Input.Body.JsonPayload.Case2Payload)
public init(from decoder: any Decoder) throws {
var errors: [any Error] = []
public init(from decoder: any Swift.Decoder) throws {
var errors: [any Swift.Error] = []
do {
self = .case1(try .init(from: decoder))
return
Expand All @@ -1330,7 +1330,7 @@ public enum Operations {
errors: errors
)
}
public func encode(to encoder: any Encoder) throws {
public func encode(to encoder: any Swift.Encoder) throws {
switch self {
case let .case1(value):
try value.encode(to: encoder)
Expand Down Expand Up @@ -1982,7 +1982,7 @@ public enum Operations {
case contactLink = "contact_link"
case state
}
public init(from decoder: any Decoder) throws {
public init(from decoder: any Swift.Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
self.name = try container.decodeIfPresent(
Swift.String.self,
Expand Down
490 changes: 315 additions & 175 deletions Sources/checks/Types.swift

Large diffs are not rendered by default.

26 changes: 20 additions & 6 deletions Sources/code-scanning/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ public struct Client: APIProtocol {
name: "severity",
value: input.query.severity
)
try converter.setQueryItemAsURI(
in: &request,
style: .form,
explode: true,
name: "assignees",
value: input.query.assignees
)
converter.setAcceptHeader(
in: &request.headerFields,
contentTypes: input.headers.accept
Expand Down Expand Up @@ -341,6 +348,13 @@ public struct Client: APIProtocol {
name: "severity",
value: input.query.severity
)
try converter.setQueryItemAsURI(
in: &request,
style: .form,
explode: true,
name: "assignees",
value: input.query.assignees
)
converter.setAcceptHeader(
in: &request.headerFields,
contentTypes: input.headers.accept
Expand Down Expand Up @@ -1345,7 +1359,7 @@ public struct Client: APIProtocol {
switch chosenContentType {
case "application/json":
body = try await converter.getResponseBodyAsJSON(
[Components.Schemas.CodeScanningAlertInstance].self,
[Components.Schemas.CodeScanningAlertInstanceList].self,
from: responseBody,
transforming: { value in
.json(value)
Expand Down Expand Up @@ -1696,7 +1710,7 @@ public struct Client: APIProtocol {
received: contentType,
options: [
"application/json",
"application/json+sarif"
"application/sarif+json"
]
)
switch chosenContentType {
Expand All @@ -1708,12 +1722,12 @@ public struct Client: APIProtocol {
.json(value)
}
)
case "application/json+sarif":
body = try converter.getResponseBodyAsBinary(
OpenAPIRuntime.HTTPBody.self,
case "application/sarif+json":
body = try await converter.getResponseBodyAsJSON(
Operations.CodeScanningGetAnalysis.Output.Ok.Body.ApplicationSarifJsonPayload.self,
from: responseBody,
transforming: { value in
.applicationJsonSarif(value)
.applicationSarifJson(value)
}
)
default:
Expand Down
Loading