add manual openapi docs
All checks were successful
Build and Publish / Metadata (push) Successful in 8s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 1m35s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m26s

This commit is contained in:
matst80
2025-10-14 08:42:04 +02:00
parent 67b9a739fe
commit 11e82de114
5 changed files with 781 additions and 28 deletions

View File

@@ -396,6 +396,8 @@ func main() {
w.Write([]byte("1.0.0"))
})
mux.HandleFunc("/openapi.json", ServeEmbeddedOpenAPI)
sigs := make(chan os.Signal, 1)
done := make(chan bool, 1)
signal.Notify(sigs, syscall.SIGTERM)