Skip to content

Switch to Idiomatic Swift Naming Convention #114

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
merged 46 commits into from
May 4, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3157e8d
Use idiomatic naming strategy
ryansobol May 1, 2025
a4f3a25
Commit via running ake Submodule
ryansobol May 1, 2025
ced52c8
Commit via running ake Sources/actions
ryansobol May 1, 2025
abc3239
Commit via running ake Sources/activity
ryansobol May 1, 2025
b499fb2
Commit via running ake Sources/apps
ryansobol May 1, 2025
3033398
Commit via running ake Sources/billing
ryansobol May 1, 2025
f5581d3
Commit via running ake Sources/checks
ryansobol May 1, 2025
531d1d9
Commit via running ake Sources/code-scanning
ryansobol May 1, 2025
e0d86fc
Commit via running ake Sources/codes-of-conduct
ryansobol May 1, 2025
1a1a5f8
Commit via running ake Sources/emojis
ryansobol May 1, 2025
7a0e573
Commit via running ake Sources/dependabot
ryansobol May 1, 2025
04f9a91
Commit via running ake Sources/dependency-graph
ryansobol May 1, 2025
23951e8
Commit via running ake Sources/gists
ryansobol May 1, 2025
7da2c01
Commit via running ake Sources/git
ryansobol May 1, 2025
695472c
Commit via running ake Sources/gitignore
ryansobol May 1, 2025
90c06bf
Commit via running ake Sources/issues
ryansobol May 1, 2025
3f0d516
Commit via running ake Sources/licenses
ryansobol May 1, 2025
52bfab2
Commit via running ake Sources/markdown
ryansobol May 1, 2025
6e95cd2
Commit via running ake Sources/merge-queue
ryansobol May 1, 2025
f7298b3
Commit via running ake Sources/meta
ryansobol May 1, 2025
6f5cf46
Commit via running ake Sources/migrations
ryansobol May 1, 2025
2039ad5
Commit via running ake Sources/oidc
ryansobol May 1, 2025
853b3ee
Commit via running ake Sources/orgs
ryansobol May 1, 2025
b92e764
Commit via running ake Sources/packages
ryansobol May 1, 2025
472f289
Commit via running ake Sources/projects
ryansobol May 1, 2025
bac994b
Commit via running ake Sources/pulls
ryansobol May 1, 2025
54c5482
Commit via running ake Sources/rate-limit
ryansobol May 1, 2025
d82444a
Commit via running ake Sources/reactions
ryansobol May 1, 2025
35fd004
Commit via running ake Sources/repos
ryansobol May 1, 2025
e9277b3
Commit via running ake Sources/search
ryansobol May 1, 2025
ae04356
Commit via running ake Sources/secret-scanning
ryansobol May 1, 2025
3ff21a4
Commit via running ake Sources/teams
ryansobol May 1, 2025
a771acc
Commit via running ake Sources/users
ryansobol May 1, 2025
4c68aae
Commit via running ake Sources/codespaces
ryansobol May 1, 2025
31ea9f5
Commit via running ake Sources/copilot
ryansobol May 1, 2025
bb9db1e
Commit via running ake Sources/security-advisories
ryansobol May 1, 2025
97e9ec6
Commit via running ake Sources/interactions
ryansobol May 1, 2025
15c36d0
Commit via running ake Sources/classroom
ryansobol May 1, 2025
3e783e1
Commit via running ake Sources/desktop
ryansobol May 1, 2025
9c569c9
Commit via running ake Sources/enterprise-teams
ryansobol May 1, 2025
7882e6e
Commit via running ake Sources/code-security
ryansobol May 1, 2025
56693fe
Commit via running ake Sources/private-registries
ryansobol May 1, 2025
0eb8e61
Commit via running ake Sources/hosted-compute
ryansobol May 1, 2025
0880bc7
Commit via running ake Sources/campaigns
ryansobol May 1, 2025
40d3e0a
Update README
ryansobol May 1, 2025
0f65313
Migrate deprecated Servers.server1() calls to the new Servers.Server1…
ryansobol May 1, 2025
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
Prev Previous commit
Next Next commit
Commit via running ake Sources/oidc
  • Loading branch information
ryansobol committed May 1, 2025
commit 2039ad515ebb8b65870a7eae9b48313d3d79981d
24 changes: 12 additions & 12 deletions Sources/oidc/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public struct Client: APIProtocol {
///
/// - Remark: HTTP `GET /orgs/{org}/actions/oidc/customization/sub`.
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/get(oidc/get-oidc-custom-sub-template-for-org)`.
public func oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org(_ input: Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Input) async throws -> Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output {
public func oidcGetOidcCustomSubTemplateForOrg(_ input: Operations.OidcGetOidcCustomSubTemplateForOrg.Input) async throws -> Operations.OidcGetOidcCustomSubTemplateForOrg.Output {
try await client.send(
input: input,
forOperation: Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.id,
forOperation: Operations.OidcGetOidcCustomSubTemplateForOrg.id,
serializer: { input in
let path = try converter.renderedPath(
template: "/orgs/{}/actions/oidc/customization/sub",
Expand All @@ -72,7 +72,7 @@ public struct Client: APIProtocol {
switch response.status.code {
case 200:
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
let body: Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output.Ok.Body
let body: Operations.OidcGetOidcCustomSubTemplateForOrg.Output.Ok.Body
let chosenContentType = try converter.bestContentType(
received: contentType,
options: [
Expand All @@ -82,7 +82,7 @@ public struct Client: APIProtocol {
switch chosenContentType {
case "application/json":
body = try await converter.getResponseBodyAsJSON(
Components.Schemas.oidc_hyphen_custom_hyphen_sub.self,
Components.Schemas.OidcCustomSub.self,
from: responseBody,
transforming: { value in
.json(value)
Expand Down Expand Up @@ -112,10 +112,10 @@ public struct Client: APIProtocol {
///
/// - Remark: HTTP `PUT /orgs/{org}/actions/oidc/customization/sub`.
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/put(oidc/update-oidc-custom-sub-template-for-org)`.
public func oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org(_ input: Operations.oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Input) async throws -> Operations.oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output {
public func oidcUpdateOidcCustomSubTemplateForOrg(_ input: Operations.OidcUpdateOidcCustomSubTemplateForOrg.Input) async throws -> Operations.OidcUpdateOidcCustomSubTemplateForOrg.Output {
try await client.send(
input: input,
forOperation: Operations.oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.id,
forOperation: Operations.OidcUpdateOidcCustomSubTemplateForOrg.id,
serializer: { input in
let path = try converter.renderedPath(
template: "/orgs/{}/actions/oidc/customization/sub",
Expand Down Expand Up @@ -147,7 +147,7 @@ public struct Client: APIProtocol {
switch response.status.code {
case 201:
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
let body: Operations.oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output.Created.Body
let body: Operations.OidcUpdateOidcCustomSubTemplateForOrg.Output.Created.Body
let chosenContentType = try converter.bestContentType(
received: contentType,
options: [
Expand All @@ -157,7 +157,7 @@ public struct Client: APIProtocol {
switch chosenContentType {
case "application/json":
body = try await converter.getResponseBodyAsJSON(
Components.Schemas.empty_hyphen_object.self,
Components.Schemas.EmptyObject.self,
from: responseBody,
transforming: { value in
.json(value)
Expand All @@ -169,7 +169,7 @@ public struct Client: APIProtocol {
return .created(.init(body: body))
case 404:
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
let body: Components.Responses.not_found.Body
let body: Components.Responses.NotFound.Body
let chosenContentType = try converter.bestContentType(
received: contentType,
options: [
Expand All @@ -179,7 +179,7 @@ public struct Client: APIProtocol {
switch chosenContentType {
case "application/json":
body = try await converter.getResponseBodyAsJSON(
Components.Schemas.basic_hyphen_error.self,
Components.Schemas.BasicError.self,
from: responseBody,
transforming: { value in
.json(value)
Expand All @@ -191,7 +191,7 @@ public struct Client: APIProtocol {
return .notFound(.init(body: body))
case 403:
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
let body: Components.Responses.forbidden.Body
let body: Components.Responses.Forbidden.Body
let chosenContentType = try converter.bestContentType(
received: contentType,
options: [
Expand All @@ -201,7 +201,7 @@ public struct Client: APIProtocol {
switch chosenContentType {
case "application/json":
body = try await converter.getResponseBodyAsJSON(
Components.Schemas.basic_hyphen_error.self,
Components.Schemas.BasicError.self,
from: responseBody,
transforming: { value in
.json(value)
Expand Down
Loading