@@ -46,10 +46,10 @@ internal struct Client: APIProtocol {
46
46
///
47
47
/// - Remark: HTTP `POST /ofrep/v1/evaluate/flags/{key}`.
48
48
/// - Remark: Generated from `#/paths//ofrep/v1/evaluate/flags/{key}/post`.
49
- internal func post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ ( _ input: Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Input ) async throws -> Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Output {
49
+ internal func postOfrepV1EvaluateFlagsKey ( _ input: Operations . PostOfrepV1EvaluateFlagsKey . Input ) async throws -> Operations . PostOfrepV1EvaluateFlagsKey . Output {
50
50
try await client. send (
51
51
input: input,
52
- forOperation: Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . id,
52
+ forOperation: Operations . PostOfrepV1EvaluateFlagsKey . id,
53
53
serializer: { input in
54
54
let path = try converter. renderedPath (
55
55
template: " /ofrep/v1/evaluate/flags/{} " ,
@@ -83,7 +83,7 @@ internal struct Client: APIProtocol {
83
83
switch response. status. code {
84
84
case 200 :
85
85
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
86
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Output . Ok . Body
86
+ let body : Operations . PostOfrepV1EvaluateFlagsKey . Output . Ok . Body
87
87
let chosenContentType = try converter. bestContentType (
88
88
received: contentType,
89
89
options: [
@@ -93,7 +93,7 @@ internal struct Client: APIProtocol {
93
93
switch chosenContentType {
94
94
case " application/json " :
95
95
body = try await converter. getResponseBodyAsJSON (
96
- Components . Schemas. evaluationSuccess . self,
96
+ Components . Schemas. EvaluationSuccess . self,
97
97
from: responseBody,
98
98
transforming: { value in
99
99
. json( value)
@@ -105,7 +105,7 @@ internal struct Client: APIProtocol {
105
105
return . ok( . init( body: body) )
106
106
case 400 :
107
107
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
108
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Output . BadRequest . Body
108
+ let body : Operations . PostOfrepV1EvaluateFlagsKey . Output . BadRequest . Body
109
109
let chosenContentType = try converter. bestContentType (
110
110
received: contentType,
111
111
options: [
@@ -115,7 +115,7 @@ internal struct Client: APIProtocol {
115
115
switch chosenContentType {
116
116
case " application/json " :
117
117
body = try await converter. getResponseBodyAsJSON (
118
- Components . Schemas. evaluationFailure . self,
118
+ Components . Schemas. EvaluationFailure . self,
119
119
from: responseBody,
120
120
transforming: { value in
121
121
. json( value)
@@ -127,7 +127,7 @@ internal struct Client: APIProtocol {
127
127
return . badRequest( . init( body: body) )
128
128
case 404 :
129
129
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
130
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Output . NotFound . Body
130
+ let body : Operations . PostOfrepV1EvaluateFlagsKey . Output . NotFound . Body
131
131
let chosenContentType = try converter. bestContentType (
132
132
received: contentType,
133
133
options: [
@@ -137,7 +137,7 @@ internal struct Client: APIProtocol {
137
137
switch chosenContentType {
138
138
case " application/json " :
139
139
body = try await converter. getResponseBodyAsJSON (
140
- Components . Schemas. flagNotFound . self,
140
+ Components . Schemas. FlagNotFound . self,
141
141
from: responseBody,
142
142
transforming: { value in
143
143
. json( value)
@@ -152,15 +152,15 @@ internal struct Client: APIProtocol {
152
152
case 403 :
153
153
return . forbidden( . init( ) )
154
154
case 429 :
155
- let headers : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Output . TooManyRequests . Headers = . init( Retry_hyphen_After : try converter. getOptionalHeaderFieldAsURI (
155
+ let headers : Operations . PostOfrepV1EvaluateFlagsKey . Output . TooManyRequests . Headers = . init( retryAfter : try converter. getOptionalHeaderFieldAsURI (
156
156
in: response. headerFields,
157
157
name: " Retry-After " ,
158
158
as: Foundation . Date. self
159
159
) )
160
160
return . tooManyRequests( . init( headers: headers) )
161
161
case 500 :
162
162
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
163
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags_sol__lcub_key_rcub_ . Output . InternalServerError . Body
163
+ let body : Operations . PostOfrepV1EvaluateFlagsKey . Output . InternalServerError . Body
164
164
let chosenContentType = try converter. bestContentType (
165
165
received: contentType,
166
166
options: [
@@ -170,7 +170,7 @@ internal struct Client: APIProtocol {
170
170
switch chosenContentType {
171
171
case " application/json " :
172
172
body = try await converter. getResponseBodyAsJSON (
173
- Components . Schemas. generalErrorResponse . self,
173
+ Components . Schemas. GeneralErrorResponse . self,
174
174
from: responseBody,
175
175
transforming: { value in
176
176
. json( value)
@@ -200,10 +200,10 @@ internal struct Client: APIProtocol {
200
200
///
201
201
/// - Remark: HTTP `POST /ofrep/v1/evaluate/flags`.
202
202
/// - Remark: Generated from `#/paths//ofrep/v1/evaluate/flags/post`.
203
- internal func post_sol_ofrep_sol_v1_sol_evaluate_sol_flags ( _ input: Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Input ) async throws -> Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Output {
203
+ internal func postOfrepV1EvaluateFlags ( _ input: Operations . PostOfrepV1EvaluateFlags . Input ) async throws -> Operations . PostOfrepV1EvaluateFlags . Output {
204
204
try await client. send (
205
205
input: input,
206
- forOperation: Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . id,
206
+ forOperation: Operations . PostOfrepV1EvaluateFlags . id,
207
207
serializer: { input in
208
208
let path = try converter. renderedPath (
209
209
template: " /ofrep/v1/evaluate/flags " ,
@@ -217,7 +217,7 @@ internal struct Client: APIProtocol {
217
217
try converter. setHeaderFieldAsURI (
218
218
in: & request. headerFields,
219
219
name: " If-None-Match " ,
220
- value: input. headers. If_hyphen_None_hyphen_Match
220
+ value: input. headers. ifNoneMatch
221
221
)
222
222
converter. setAcceptHeader (
223
223
in: & request. headerFields,
@@ -239,13 +239,13 @@ internal struct Client: APIProtocol {
239
239
deserializer: { response, responseBody in
240
240
switch response. status. code {
241
241
case 200 :
242
- let headers : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Output . Ok . Headers = . init( ETag : try converter. getOptionalHeaderFieldAsURI (
242
+ let headers : Operations . PostOfrepV1EvaluateFlags . Output . Ok . Headers = . init( eTag : try converter. getOptionalHeaderFieldAsURI (
243
243
in: response. headerFields,
244
244
name: " ETag " ,
245
245
as: Swift . String. self
246
246
) )
247
247
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
248
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Output . Ok . Body
248
+ let body : Operations . PostOfrepV1EvaluateFlags . Output . Ok . Body
249
249
let chosenContentType = try converter. bestContentType (
250
250
received: contentType,
251
251
options: [
@@ -255,7 +255,7 @@ internal struct Client: APIProtocol {
255
255
switch chosenContentType {
256
256
case " application/json " :
257
257
body = try await converter. getResponseBodyAsJSON (
258
- Components . Schemas. bulkEvaluationSuccess . self,
258
+ Components . Schemas. BulkEvaluationSuccess . self,
259
259
from: responseBody,
260
260
transforming: { value in
261
261
. json( value)
@@ -272,7 +272,7 @@ internal struct Client: APIProtocol {
272
272
return . notModified( . init( ) )
273
273
case 400 :
274
274
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
275
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Output . BadRequest . Body
275
+ let body : Operations . PostOfrepV1EvaluateFlags . Output . BadRequest . Body
276
276
let chosenContentType = try converter. bestContentType (
277
277
received: contentType,
278
278
options: [
@@ -282,7 +282,7 @@ internal struct Client: APIProtocol {
282
282
switch chosenContentType {
283
283
case " application/json " :
284
284
body = try await converter. getResponseBodyAsJSON (
285
- Components . Schemas. bulkEvaluationFailure . self,
285
+ Components . Schemas. BulkEvaluationFailure . self,
286
286
from: responseBody,
287
287
transforming: { value in
288
288
. json( value)
@@ -297,15 +297,15 @@ internal struct Client: APIProtocol {
297
297
case 403 :
298
298
return . forbidden( . init( ) )
299
299
case 429 :
300
- let headers : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Output . TooManyRequests . Headers = . init( Retry_hyphen_After : try converter. getOptionalHeaderFieldAsURI (
300
+ let headers : Operations . PostOfrepV1EvaluateFlags . Output . TooManyRequests . Headers = . init( retryAfter : try converter. getOptionalHeaderFieldAsURI (
301
301
in: response. headerFields,
302
302
name: " Retry-After " ,
303
303
as: Foundation . Date. self
304
304
) )
305
305
return . tooManyRequests( . init( headers: headers) )
306
306
case 500 :
307
307
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
308
- let body : Operations . post_sol_ofrep_sol_v1_sol_evaluate_sol_flags . Output . InternalServerError . Body
308
+ let body : Operations . PostOfrepV1EvaluateFlags . Output . InternalServerError . Body
309
309
let chosenContentType = try converter. bestContentType (
310
310
received: contentType,
311
311
options: [
@@ -315,7 +315,7 @@ internal struct Client: APIProtocol {
315
315
switch chosenContentType {
316
316
case " application/json " :
317
317
body = try await converter. getResponseBodyAsJSON (
318
- Components . Schemas. generalErrorResponse . self,
318
+ Components . Schemas. GeneralErrorResponse . self,
319
319
from: responseBody,
320
320
transforming: { value in
321
321
. json( value)
@@ -345,10 +345,10 @@ internal struct Client: APIProtocol {
345
345
///
346
346
/// - Remark: HTTP `GET /ofrep/v1/configuration`.
347
347
/// - Remark: Generated from `#/paths//ofrep/v1/configuration/get`.
348
- internal func get_sol_ofrep_sol_v1_sol_configuration ( _ input: Operations . get_sol_ofrep_sol_v1_sol_configuration . Input ) async throws -> Operations . get_sol_ofrep_sol_v1_sol_configuration . Output {
348
+ internal func getOfrepV1Configuration ( _ input: Operations . GetOfrepV1Configuration . Input ) async throws -> Operations . GetOfrepV1Configuration . Output {
349
349
try await client. send (
350
350
input: input,
351
- forOperation: Operations . get_sol_ofrep_sol_v1_sol_configuration . id,
351
+ forOperation: Operations . GetOfrepV1Configuration . id,
352
352
serializer: { input in
353
353
let path = try converter. renderedPath (
354
354
template: " /ofrep/v1/configuration " ,
@@ -362,7 +362,7 @@ internal struct Client: APIProtocol {
362
362
try converter. setHeaderFieldAsURI (
363
363
in: & request. headerFields,
364
364
name: " If-None-Match " ,
365
- value: input. headers. If_hyphen_None_hyphen_Match
365
+ value: input. headers. ifNoneMatch
366
366
)
367
367
converter. setAcceptHeader (
368
368
in: & request. headerFields,
@@ -373,13 +373,13 @@ internal struct Client: APIProtocol {
373
373
deserializer: { response, responseBody in
374
374
switch response. status. code {
375
375
case 200 :
376
- let headers : Operations . get_sol_ofrep_sol_v1_sol_configuration . Output . Ok . Headers = . init( ETag : try converter. getOptionalHeaderFieldAsURI (
376
+ let headers : Operations . GetOfrepV1Configuration . Output . Ok . Headers = . init( eTag : try converter. getOptionalHeaderFieldAsURI (
377
377
in: response. headerFields,
378
378
name: " ETag " ,
379
379
as: Swift . String. self
380
380
) )
381
381
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
382
- let body : Operations . get_sol_ofrep_sol_v1_sol_configuration . Output . Ok . Body
382
+ let body : Operations . GetOfrepV1Configuration . Output . Ok . Body
383
383
let chosenContentType = try converter. bestContentType (
384
384
received: contentType,
385
385
options: [
@@ -389,7 +389,7 @@ internal struct Client: APIProtocol {
389
389
switch chosenContentType {
390
390
case " application/json " :
391
391
body = try await converter. getResponseBodyAsJSON (
392
- Components . Schemas. configurationResponse . self,
392
+ Components . Schemas. ConfigurationResponse . self,
393
393
from: responseBody,
394
394
transforming: { value in
395
395
. json( value)
@@ -410,7 +410,7 @@ internal struct Client: APIProtocol {
410
410
return . forbidden( . init( ) )
411
411
case 500 :
412
412
let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
413
- let body : Operations . get_sol_ofrep_sol_v1_sol_configuration . Output . InternalServerError . Body
413
+ let body : Operations . GetOfrepV1Configuration . Output . InternalServerError . Body
414
414
let chosenContentType = try converter. bestContentType (
415
415
received: contentType,
416
416
options: [
@@ -420,7 +420,7 @@ internal struct Client: APIProtocol {
420
420
switch chosenContentType {
421
421
case " application/json " :
422
422
body = try await converter. getResponseBodyAsJSON (
423
- Components . Schemas. generalErrorResponse . self,
423
+ Components . Schemas. GeneralErrorResponse . self,
424
424
from: responseBody,
425
425
transforming: { value in
426
426
. json( value)
0 commit comments