mirror of
https://github.com/go-gitea/gitea
synced 2024-09-07 01:45:54 +02:00
* move Setting function into its own package * swagger add&use new section "settings" * move api AllowedReactions into general UI-Settings endpoint * prepare TEST * lint
21 lines
563 B
Go
21 lines
563 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"`
|
|
}
|