add api documentation stubs

This commit is contained in:
André Roth
2024-10-04 01:06:25 +02:00
parent f9ae9b323a
commit ba86851d07
11 changed files with 347 additions and 44 deletions
+8 -1
View File
@@ -12,7 +12,14 @@ import (
"github.com/gin-gonic/gin"
)
// POST /api/gpg
// @Summary TODO
// @Description **ToDo**
// @Description To Do
// @Tags GPG
// @Produce json
// @Success 200 {object} string "msg"
// @Failure 404 {object} Error "Not Found"
// @Router /api/gpg [post]
func apiGPGAddKey(c *gin.Context) {
var b struct {
Keyserver string