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
+1
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"`