Added swager docs
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user