mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-13 18:16:04 +00:00
2a52aeec49
* API: Expose its limitation settings * TESTs Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
29 lines
730 B
Go
29 lines
730 B
Go
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package swagger
|
|
|
|
import api "code.gitea.io/gitea/modules/structs"
|
|
|
|
// GeneralRepoSettings
|
|
// swagger:response GeneralRepoSettings
|
|
type swaggerResponseGeneralRepoSettings struct {
|
|
// in:body
|
|
Body api.GeneralRepoSettings `json:"body"`
|
|
}
|
|
|
|
// GeneralUISettings
|
|
// swagger:response GeneralUISettings
|
|
type swaggerResponseGeneralUISettings struct {
|
|
// in:body
|
|
Body api.GeneralUISettings `json:"body"`
|
|
}
|
|
|
|
// GeneralAPISettings
|
|
// swagger:response GeneralAPISettings
|
|
type swaggerResponseGeneralAPISettings struct {
|
|
// in:body
|
|
Body api.GeneralAPISettings `json:"body"`
|
|
}
|