@@ -44,10 +44,10 @@ public struct Client: APIProtocol {
4444 ///
4545 /// - Remark: HTTP `GET /licenses`.
4646 /// - Remark: Generated from `#/paths//licenses/get(licenses/get-all-commonly-used)`.
47- public func licenses_sol_get_hyphen_all_hyphen_commonly_hyphen_used ( _ input: Operations . licenses_sol_get_hyphen_all_hyphen_commonly_hyphen_used . Input ) async throws -> Operations . licenses_sol_get_hyphen_all_hyphen_commonly_hyphen_used . Output {
47+ public func licensesGetAllCommonlyUsed ( _ input: Operations . LicensesGetAllCommonlyUsed . Input ) async throws -> Operations . LicensesGetAllCommonlyUsed . Output {
4848 try await client. send (
4949 input: input,
50- forOperation: Operations . licenses_sol_get_hyphen_all_hyphen_commonly_hyphen_used . id,
50+ forOperation: Operations . LicensesGetAllCommonlyUsed . id,
5151 serializer: { input in
5252 let path = try converter. renderedPath (
5353 template: " /licenses " ,
@@ -70,7 +70,7 @@ public struct Client: APIProtocol {
7070 style: . form,
7171 explode: true ,
7272 name: " per_page " ,
73- value: input. query. per_page
73+ value: input. query. perPage
7474 )
7575 try converter. setQueryItemAsURI (
7676 in: & request,
@@ -89,7 +89,7 @@ public struct Client: APIProtocol {
8989 switch response. status. code {
9090 case 200 :
9191 let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
92- let body : Operations . licenses_sol_get_hyphen_all_hyphen_commonly_hyphen_used . Output . Ok . Body
92+ let body : Operations . LicensesGetAllCommonlyUsed . Output . Ok . Body
9393 let chosenContentType = try converter. bestContentType (
9494 received: contentType,
9595 options: [
@@ -99,7 +99,7 @@ public struct Client: APIProtocol {
9999 switch chosenContentType {
100100 case " application/json " :
101101 body = try await converter. getResponseBodyAsJSON (
102- [ Components . Schemas . license_hyphen_simple ] . self,
102+ [ Components . Schemas . LicenseSimple ] . self,
103103 from: responseBody,
104104 transforming: { value in
105105 . json( value)
@@ -129,10 +129,10 @@ public struct Client: APIProtocol {
129129 ///
130130 /// - Remark: HTTP `GET /licenses/{license}`.
131131 /// - Remark: Generated from `#/paths//licenses/{license}/get(licenses/get)`.
132- public func licenses_sol_get ( _ input: Operations . licenses_sol_get . Input ) async throws -> Operations . licenses_sol_get . Output {
132+ public func licensesGet ( _ input: Operations . LicensesGet . Input ) async throws -> Operations . LicensesGet . Output {
133133 try await client. send (
134134 input: input,
135- forOperation: Operations . licenses_sol_get . id,
135+ forOperation: Operations . LicensesGet . id,
136136 serializer: { input in
137137 let path = try converter. renderedPath (
138138 template: " /licenses/{} " ,
@@ -155,7 +155,7 @@ public struct Client: APIProtocol {
155155 switch response. status. code {
156156 case 200 :
157157 let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
158- let body : Operations . licenses_sol_get . Output . Ok . Body
158+ let body : Operations . LicensesGet . Output . Ok . Body
159159 let chosenContentType = try converter. bestContentType (
160160 received: contentType,
161161 options: [
@@ -165,7 +165,7 @@ public struct Client: APIProtocol {
165165 switch chosenContentType {
166166 case " application/json " :
167167 body = try await converter. getResponseBodyAsJSON (
168- Components . Schemas. license . self,
168+ Components . Schemas. License . self,
169169 from: responseBody,
170170 transforming: { value in
171171 . json( value)
@@ -177,7 +177,7 @@ public struct Client: APIProtocol {
177177 return . ok( . init( body: body) )
178178 case 403 :
179179 let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
180- let body : Components . Responses . forbidden . Body
180+ let body : Components . Responses . Forbidden . Body
181181 let chosenContentType = try converter. bestContentType (
182182 received: contentType,
183183 options: [
@@ -187,7 +187,7 @@ public struct Client: APIProtocol {
187187 switch chosenContentType {
188188 case " application/json " :
189189 body = try await converter. getResponseBodyAsJSON (
190- Components . Schemas. basic_hyphen_error . self,
190+ Components . Schemas. BasicError . self,
191191 from: responseBody,
192192 transforming: { value in
193193 . json( value)
@@ -199,7 +199,7 @@ public struct Client: APIProtocol {
199199 return . forbidden( . init( body: body) )
200200 case 404 :
201201 let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
202- let body : Components . Responses . not_found . Body
202+ let body : Components . Responses . NotFound . Body
203203 let chosenContentType = try converter. bestContentType (
204204 received: contentType,
205205 options: [
@@ -209,7 +209,7 @@ public struct Client: APIProtocol {
209209 switch chosenContentType {
210210 case " application/json " :
211211 body = try await converter. getResponseBodyAsJSON (
212- Components . Schemas. basic_hyphen_error . self,
212+ Components . Schemas. BasicError . self,
213213 from: responseBody,
214214 transforming: { value in
215215 . json( value)
@@ -244,10 +244,10 @@ public struct Client: APIProtocol {
244244 ///
245245 /// - Remark: HTTP `GET /repos/{owner}/{repo}/license`.
246246 /// - Remark: Generated from `#/paths//repos/{owner}/{repo}/license/get(licenses/get-for-repo)`.
247- public func licenses_sol_get_hyphen_for_hyphen_repo ( _ input: Operations . licenses_sol_get_hyphen_for_hyphen_repo . Input ) async throws -> Operations . licenses_sol_get_hyphen_for_hyphen_repo . Output {
247+ public func licensesGetForRepo ( _ input: Operations . LicensesGetForRepo . Input ) async throws -> Operations . LicensesGetForRepo . Output {
248248 try await client. send (
249249 input: input,
250- forOperation: Operations . licenses_sol_get_hyphen_for_hyphen_repo . id,
250+ forOperation: Operations . LicensesGetForRepo . id,
251251 serializer: { input in
252252 let path = try converter. renderedPath (
253253 template: " /repos/{}/{}/license " ,
@@ -278,7 +278,7 @@ public struct Client: APIProtocol {
278278 switch response. status. code {
279279 case 200 :
280280 let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
281- let body : Operations . licenses_sol_get_hyphen_for_hyphen_repo . Output . Ok . Body
281+ let body : Operations . LicensesGetForRepo . Output . Ok . Body
282282 let chosenContentType = try converter. bestContentType (
283283 received: contentType,
284284 options: [
@@ -288,7 +288,7 @@ public struct Client: APIProtocol {
288288 switch chosenContentType {
289289 case " application/json " :
290290 body = try await converter. getResponseBodyAsJSON (
291- Components . Schemas. license_hyphen_content . self,
291+ Components . Schemas. LicenseContent . self,
292292 from: responseBody,
293293 transforming: { value in
294294 . json( value)
@@ -300,7 +300,7 @@ public struct Client: APIProtocol {
300300 return . ok( . init( body: body) )
301301 case 404 :
302302 let contentType = converter. extractContentTypeIfPresent ( in: response. headerFields)
303- let body : Components . Responses . not_found . Body
303+ let body : Components . Responses . NotFound . Body
304304 let chosenContentType = try converter. bestContentType (
305305 received: contentType,
306306 options: [
@@ -310,7 +310,7 @@ public struct Client: APIProtocol {
310310 switch chosenContentType {
311311 case " application/json " :
312312 body = try await converter. getResponseBodyAsJSON (
313- Components . Schemas. basic_hyphen_error . self,
313+ Components . Schemas. BasicError . self,
314314 from: responseBody,
315315 transforming: { value in
316316 . json( value)
0 commit comments