Backport #27203 by @Nabapadma-sarker
Fixes #27202
Co-authored-by: Nabapadma-sarker <nabapadmacse1991@gmail.com>
Language string `json:"language"`
LanguagesURL string `json:"languages_url"`
HTMLURL string `json:"html_url"`
+ URL string `json:"url"`
Link string `json:"link"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`
Parent: parent,
Mirror: repo.IsMirror,
HTMLURL: repo.HTMLURL(),
+ URL: repoAPIURL,
SSHURL: cloneLink.SSH,
CloneURL: cloneLink.HTTPS,
OriginalURL: repo.SanitizedOriginalURL(),
"format": "date-time",
"x-go-name": "Updated"
},
+ "url": {
+ "type": "string",
+ "x-go-name": "URL"
+ },
"watchers_count": {
"type": "integer",
"format": "int64",