Skip to content

Commit f1c25e7

Browse files
committed
📝 Update README.md
1 parent d87fd3a commit f1c25e7

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,21 @@ Generated files and directories.
6969
7070
Generated struct file `./api.github.com/users/user/repos.go`.
7171
```go
72+
// Generated Code But Editable.
73+
// Format The Code with `go fmt` or something and edit it manually to use it.
74+
//
75+
// Generated by: api-to-go (https://github.com/nkmr-jp/api-to-go).
76+
7277
package user
7378
7479
import "time"
7580
76-
// Repos is the go struct of api's payload.
77-
//
78-
// url: https://api.github.com/users/{user}/repos
79-
// example: https://api.github.com/users/github/repos
81+
// Repos represents the response body from an HTTP request.
8082
//
83+
// Status: 200 OK
84+
// Request: GET https://api.github.com/users/github/repos
85+
// Format: /users/{user}/repos
86+
// Docs: https://docs.github.com/en/rest
8187
type Repos []struct {
8288
ID int `json:"id"`
8389
NodeID string `json:"node_id"`
@@ -150,6 +156,7 @@ type Repos []struct {
150156
License interface{} `json:"license"`
151157
AllowForking bool `json:"allow_forking"`
152158
IsTemplate bool `json:"is_template"`
159+
WebCommitSignoffRequired bool `json:"web_commit_signoff_required"`
153160
Topics []interface{} `json:"topics"`
154161
Visibility string `json:"visibility"`
155162
Forks int `json:"forks"`

0 commit comments

Comments
 (0)