Skip to content

Commit 2039ad5

Browse files
committed
Commit via running ake Sources/oidc
1 parent 6f5cf46 commit 2039ad5

File tree

2 files changed

+100
-91
lines changed

2 files changed

+100
-91
lines changed

Sources/oidc/Client.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public struct Client: APIProtocol {
4646
///
4747
/// - Remark: HTTP `GET /orgs/{org}/actions/oidc/customization/sub`.
4848
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/get(oidc/get-oidc-custom-sub-template-for-org)`.
49-
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 {
49+
public func oidcGetOidcCustomSubTemplateForOrg(_ input: Operations.OidcGetOidcCustomSubTemplateForOrg.Input) async throws -> Operations.OidcGetOidcCustomSubTemplateForOrg.Output {
5050
try await client.send(
5151
input: input,
52-
forOperation: Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.id,
52+
forOperation: Operations.OidcGetOidcCustomSubTemplateForOrg.id,
5353
serializer: { input in
5454
let path = try converter.renderedPath(
5555
template: "/orgs/{}/actions/oidc/customization/sub",
@@ -72,7 +72,7 @@ public struct Client: APIProtocol {
7272
switch response.status.code {
7373
case 200:
7474
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
75-
let body: Operations.oidc_sol_get_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output.Ok.Body
75+
let body: Operations.OidcGetOidcCustomSubTemplateForOrg.Output.Ok.Body
7676
let chosenContentType = try converter.bestContentType(
7777
received: contentType,
7878
options: [
@@ -82,7 +82,7 @@ public struct Client: APIProtocol {
8282
switch chosenContentType {
8383
case "application/json":
8484
body = try await converter.getResponseBodyAsJSON(
85-
Components.Schemas.oidc_hyphen_custom_hyphen_sub.self,
85+
Components.Schemas.OidcCustomSub.self,
8686
from: responseBody,
8787
transforming: { value in
8888
.json(value)
@@ -112,10 +112,10 @@ public struct Client: APIProtocol {
112112
///
113113
/// - Remark: HTTP `PUT /orgs/{org}/actions/oidc/customization/sub`.
114114
/// - Remark: Generated from `#/paths//orgs/{org}/actions/oidc/customization/sub/put(oidc/update-oidc-custom-sub-template-for-org)`.
115-
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 {
115+
public func oidcUpdateOidcCustomSubTemplateForOrg(_ input: Operations.OidcUpdateOidcCustomSubTemplateForOrg.Input) async throws -> Operations.OidcUpdateOidcCustomSubTemplateForOrg.Output {
116116
try await client.send(
117117
input: input,
118-
forOperation: Operations.oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.id,
118+
forOperation: Operations.OidcUpdateOidcCustomSubTemplateForOrg.id,
119119
serializer: { input in
120120
let path = try converter.renderedPath(
121121
template: "/orgs/{}/actions/oidc/customization/sub",
@@ -147,7 +147,7 @@ public struct Client: APIProtocol {
147147
switch response.status.code {
148148
case 201:
149149
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
150-
let body: Operations.oidc_sol_update_hyphen_oidc_hyphen_custom_hyphen_sub_hyphen_template_hyphen_for_hyphen_org.Output.Created.Body
150+
let body: Operations.OidcUpdateOidcCustomSubTemplateForOrg.Output.Created.Body
151151
let chosenContentType = try converter.bestContentType(
152152
received: contentType,
153153
options: [
@@ -157,7 +157,7 @@ public struct Client: APIProtocol {
157157
switch chosenContentType {
158158
case "application/json":
159159
body = try await converter.getResponseBodyAsJSON(
160-
Components.Schemas.empty_hyphen_object.self,
160+
Components.Schemas.EmptyObject.self,
161161
from: responseBody,
162162
transforming: { value in
163163
.json(value)
@@ -169,7 +169,7 @@ public struct Client: APIProtocol {
169169
return .created(.init(body: body))
170170
case 404:
171171
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
172-
let body: Components.Responses.not_found.Body
172+
let body: Components.Responses.NotFound.Body
173173
let chosenContentType = try converter.bestContentType(
174174
received: contentType,
175175
options: [
@@ -179,7 +179,7 @@ public struct Client: APIProtocol {
179179
switch chosenContentType {
180180
case "application/json":
181181
body = try await converter.getResponseBodyAsJSON(
182-
Components.Schemas.basic_hyphen_error.self,
182+
Components.Schemas.BasicError.self,
183183
from: responseBody,
184184
transforming: { value in
185185
.json(value)
@@ -191,7 +191,7 @@ public struct Client: APIProtocol {
191191
return .notFound(.init(body: body))
192192
case 403:
193193
let contentType = converter.extractContentTypeIfPresent(in: response.headerFields)
194-
let body: Components.Responses.forbidden.Body
194+
let body: Components.Responses.Forbidden.Body
195195
let chosenContentType = try converter.bestContentType(
196196
received: contentType,
197197
options: [
@@ -201,7 +201,7 @@ public struct Client: APIProtocol {
201201
switch chosenContentType {
202202
case "application/json":
203203
body = try await converter.getResponseBodyAsJSON(
204-
Components.Schemas.basic_hyphen_error.self,
204+
Components.Schemas.BasicError.self,
205205
from: responseBody,
206206
transforming: { value in
207207
.json(value)

0 commit comments

Comments
 (0)