Swagger returning only 404s

This commit is contained in:
pb
2024-02-15 10:52:29 +01:00
parent c8508a4976
commit f77d2bc8cf
9 changed files with 32 additions and 27 deletions

View File

@@ -79,14 +79,13 @@ func Init() {
),
)
beego.AddNamespace(ns)
beego.Get("/", func(ctx *context.Context) {
ctx.Output.Body([]byte(services.DC_NAME))
})
// Force regenerate swagger before consuming the data
// Force regenerate swagger before consuming the data
// bee.GenerateDocs(".")
// Open our jsonFile