2017-11-13 08:02:25 +01:00
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
2022-11-27 19:20:29 +01:00
|
|
|
// SPDX-License-Identifier: MIT
|
2017-11-13 08:02:25 +01:00
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2019-05-11 12:21:34 +02:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 08:02:25 +01:00
|
|
|
)
|
|
|
|
|
2018-05-31 13:13:55 +02:00
|
|
|
// ServerVersion
|
2017-11-13 08:02:25 +01:00
|
|
|
// swagger:response ServerVersion
|
|
|
|
type swaggerResponseServerVersion struct {
|
|
|
|
// in:body
|
|
|
|
Body api.ServerVersion `json:"body"`
|
|
|
|
}
|
2020-06-04 11:16:53 +02:00
|
|
|
|
2023-04-26 08:08:28 +02:00
|
|
|
// LicenseTemplateList
|
|
|
|
// swagger:response LicenseTemplateList
|
|
|
|
type swaggerResponseLicensesTemplateList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.LicensesTemplateListEntry `json:"body"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// LicenseTemplateInfo
|
|
|
|
// swagger:response LicenseTemplateInfo
|
|
|
|
type swaggerResponseLicenseTemplateInfo struct {
|
|
|
|
// in:body
|
|
|
|
Body api.LicenseTemplateInfo `json:"body"`
|
|
|
|
}
|
|
|
|
|
2020-06-04 11:16:53 +02:00
|
|
|
// StringSlice
|
|
|
|
// swagger:response StringSlice
|
|
|
|
type swaggerResponseStringSlice struct {
|
|
|
|
// in:body
|
|
|
|
Body []string `json:"body"`
|
|
|
|
}
|