@@ -15,7 +15,7 @@ import OpenAPIRuntime
1515import OpenAPIURLSession
1616
1717let client = Client (serverURL : try Servers.server1 (), transport : URLSessionTransport ())
18- let users = try await client.users_sol_list ().ok .body .json
18+ let users = try await client.usersList ().ok .body .json
1919```
2020
2121<details >
@@ -96,18 +96,18 @@ struct GitHubRestAPIIssuesExtension {
9696 middlewares : [AuthenticationMiddleware (token : nil )]
9797 )
9898
99- let comments = try await client.issues_sol_list_hyphen_comments (
100- path : .init (owner : owner, repo : repo, issue_number : number)
99+ let comments = try await client.issuesListComments (
100+ path : .init (owner : owner, repo : repo, issueNumber : number)
101101 ).ok .body .json
102102
103103 if let comment = comments.first (where : { $0 .body ? .contains (hidingContent) == true }) {
104- _ = try await client.issues_sol_update_hyphen_comment (
105- path : .init (owner : owner, repo : repo, comment_id : Components. Parameters . comment_hyphen_id ( comment.id ) ),
104+ _ = try await client.issuesUpdateComment (
105+ path : .init (owner : owner, repo : repo, commentId : comment.id ),
106106 body : .json (.init (body : newBody))
107107 )
108108 } else {
109- _ = try await client.issues_sol_create_hyphen_comment (
110- path : .init (owner : owner, repo : repo, issue_number : number),
109+ _ = try await client.issuesCreateComment (
110+ path : .init (owner : owner, repo : repo, issueNumber : number),
111111 body : .json (.init (body : newBody))
112112 )
113113 }
0 commit comments