2017-11-13 02:02:25 -05:00
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
2022-11-27 13:20:29 -05:00
|
|
|
// SPDX-License-Identifier: MIT
|
2017-11-13 02:02:25 -05:00
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2019-05-11 06:21:34 -04:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 02:02:25 -05:00
|
|
|
)
|
|
|
|
|
2018-05-31 07:13:55 -04:00
|
|
|
// ServerVersion
|
2017-11-13 02:02:25 -05:00
|
|
|
// swagger:response ServerVersion
|
|
|
|
type swaggerResponseServerVersion struct {
|
|
|
|
// in:body
|
|
|
|
Body api.ServerVersion `json:"body"`
|
|
|
|
}
|
2020-06-04 05:16:53 -04:00
|
|
|
|
2023-04-26 23:51:20 -04:00
|
|
|
// GitignoreTemplateList
|
|
|
|
// swagger:response GitignoreTemplateList
|
|
|
|
type swaggerResponseGitignoreTemplateList struct {
|
|
|
|
// in:body
|
|
|
|
Body []string `json:"body"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// GitignoreTemplateInfo
|
|
|
|
// swagger:response GitignoreTemplateInfo
|
|
|
|
type swaggerResponseGitignoreTemplateInfo struct {
|
|
|
|
// in:body
|
|
|
|
Body api.GitignoreTemplateInfo `json:"body"`
|
|
|
|
}
|
|
|
|
|
2023-04-26 02:08:28 -04: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 05:16:53 -04:00
|
|
|
// StringSlice
|
|
|
|
// swagger:response StringSlice
|
|
|
|
type swaggerResponseStringSlice struct {
|
|
|
|
// in:body
|
|
|
|
Body []string `json:"body"`
|
|
|
|
}
|
2023-05-23 06:10:23 -04:00
|
|
|
|
|
|
|
// LabelTemplateList
|
|
|
|
// swagger:response LabelTemplateList
|
|
|
|
type swaggerResponseLabelTemplateList struct {
|
|
|
|
// in:body
|
|
|
|
Body []string `json:"body"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// LabelTemplateInfo
|
|
|
|
// swagger:response LabelTemplateInfo
|
|
|
|
type swaggerResponseLabelTemplateInfo struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.LabelTemplate `json:"body"`
|
|
|
|
}
|