Swagger returning only 404s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user