This commit is contained in:
mr
2025-04-01 10:08:27 +02:00
parent 3d92f0b8b4
commit acf0953324
22 changed files with 15 additions and 12 deletions

View File

@@ -15,7 +15,10 @@ type VersionController struct {
// @Success 200
// @router / [get]
func (c *VersionController) GetAll() {
c.Data["json"] = map[string]string{"version": "1"}
c.Data["json"] = map[string]string{
"service": "oc-catalog",
"version": "1",
}
c.ServeJSON()
}