mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 22:17:20 +00:00
API expose usefull General Repo settings settings (#11758)
* GeneralRepoSettings expose MirrorsDisabled, HTTPGitDisabled, MaxCreationLimit * Apply suggestions from code review Co-authored-by: proton <25139420+proton-ab@users.noreply.github.com> * lint Co-authored-by: proton <25139420+proton-ab@users.noreply.github.com>
This commit is contained in:
@ -21,3 +21,10 @@ type swaggerResponseStringSlice struct {
|
||||
// in:body
|
||||
Body []string `json:"body"`
|
||||
}
|
||||
|
||||
// GeneralRepoSettings
|
||||
// swagger:response GeneralRepoSettings
|
||||
type swaggerResponseGeneralRepoSettings struct {
|
||||
// in:body
|
||||
Body api.GeneralRepoSettings `json:"body"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user