2017-11-13 16:02:25 +09:00
|
|
|
// Copyright 2017 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 (
|
2019-05-11 19:21:34 +09:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 16:02:25 +09:00
|
|
|
)
|
|
|
|
|
2018-05-31 20:13:55 +09:00
|
|
|
// ServerVersion
|
2017-11-13 16:02:25 +09:00
|
|
|
// swagger:response ServerVersion
|
|
|
|
type swaggerResponseServerVersion struct {
|
|
|
|
// in:body
|
|
|
|
Body api.ServerVersion `json:"body"`
|
|
|
|
}
|
2020-06-04 18:16:53 +09:00
|
|
|
|
|
|
|
// StringSlice
|
|
|
|
// swagger:response StringSlice
|
|
|
|
type swaggerResponseStringSlice struct {
|
|
|
|
// in:body
|
|
|
|
Body []string `json:"body"`
|
|
|
|
}
|