expose PR counter on Repo API (#9202)

This commit is contained in:
6543 authored and Lunny Xiao committed 2019-11-29 23:14:24 +08:00
1 parent e151674cfa
commit d7c1310353
3 files changed
+7

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ type Repository struct {
Forks int `json:"forks_count"`
Watchers int `json:"watchers_count"`
OpenIssues int `json:"open_issues_count"`
OpenPulls int `json:"open_pr_counter"`
DefaultBranch string `json:"default_branch"`
Archived bool `json:"archived"`
// swagger:strfmt date-time