Added swager docs

This commit is contained in:
2026-04-02 22:55:01 +02:00
parent 6e7aa21c40
commit 59fb96cc26
9 changed files with 2991 additions and 21 deletions
+18
View File
@@ -14,6 +14,24 @@ import (
"github.com/joho/godotenv"
)
// @title Quay API
// @version 1.0
// @description Self-hosted static site deployment service
// @host localhost:4321
// @BasePath /api/v1
// @tag.name Sites
// @tag.description Manage sites
// @tag.name Forward-Rules
// @tag.description Manage redirect rules for a site
// @tag.name Custom-Headers
// @tag.description Manage custom header groups for a site
// @tag.name Headers
// @tag.description Manage individual headers within a custom header group
func main() {
_ = godotenv.Load()