Add API for Label templates (#24602)

This adds API that allows getting the Label templates of the Gitea
Instance
This commit is contained in:
JakobDev authored and GitHub committed 2023-05-23 18:10:23 +08:00
1 parent abcf5a7b5e
commit 25dc1556cd
7 files changed
+258

No files matched your search

+14
View File
@@ -48,3 +48,17 @@ type swaggerResponseStringSlice struct {
// in:body
Body []string `json:"body"`
}
// 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"`
}