@@ -15,7 +15,7 @@ import OpenAPIRuntime
15
15
import OpenAPIURLSession
16
16
17
17
let 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
19
19
```
20
20
21
21
<details >
@@ -96,18 +96,18 @@ struct GitHubRestAPIIssuesExtension {
96
96
middlewares : [AuthenticationMiddleware (token : nil )]
97
97
)
98
98
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)
101
101
).ok .body .json
102
102
103
103
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 ),
106
106
body : .json (.init (body : newBody))
107
107
)
108
108
} 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),
111
111
body : .json (.init (body : newBody))
112
112
)
113
113
}
0 commit comments