add swagger support

- install swaggo
- add swagger config option
This commit is contained in:
André Roth
2024-06-11 14:15:57 +02:00
parent 96e60ae540
commit 1d1bd41bb8
11 changed files with 86 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
package api
type Error struct {
Error string `json:"error"`
}