mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 08:13:33 +01:00
2a52aeec49
* API: Expose its limitation settings * TESTs Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
28 lines
730 B
Go
28 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"`
|
|
}
|