1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

docs: set up project files for swagger documentation

This commit is contained in:
eyad-hussein
2024-07-14 16:50:32 +03:00
parent 10c0766a77
commit 9ca2cdfa39
4 changed files with 47 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ type Project struct {
}
type CreateProjectOption struct {
// required:true
Title string `json:"title" binding:"Required;MaxSize(100)"`
Content string `json:"content"`
TemplateType uint8 `json:"template_type"`