Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 40d3e0a

Browse files
Update README
1 parent 0880bc7 commit 40d3e0a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import OpenAPIRuntime
1515
import OpenAPIURLSession
1616

1717
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
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /