From 17aeef4ad0e91e2a6e7259edf5ecaf5fdc16205b Mon Sep 17 00:00:00 2001 From: ycc Date: Thu, 5 Sep 2024 09:22:06 +0200 Subject: [PATCH] Update API documentation and license information --- main.go | 4 ++-- oc-catalog | Bin 26865951 -> 26865951 bytes routers/router.go | 12 ++++++------ swagger/swagger.json | 12 ++++++------ swagger/swagger.yml | 12 ++++++------ 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/main.go b/main.go index 1fa70e7..fdf2663 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ func main() { // Load the right config file o := oclib.GetConfLoader() - // feed the library with the loaded config, + // feed the library with the loaded config oclib.SetConfig( o.GetStringDefault("MONGO_URL", "mongodb://127.0.0.1:27017"), o.GetStringDefault("MONGO_DATABASE", "DC_myDC"), @@ -29,6 +29,6 @@ func main() { beego.BConfig.Listen.HTTPPort = o.GetIntDefault("port", 8080) beego.BConfig.WebConfig.DirectoryIndex = true beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger" - //} + beego.Run() } diff --git a/oc-catalog b/oc-catalog index b62ee462cba87ed505dea8337fc4db4e5a52e545..0ddc898d488713a5336ba57225c2e43f34bb6e55 100755 GIT binary patch delta 1952 zcmWmBS3uPT0EKb?APz(?Dk8YREuu0mm*M6jASfGI4g^FIK>;t*4GJO(xTPY>CM|8! zBHG#BWdkdzY+E+W2Kb$a-}iQ&PTR#xPHi~bY)T5Z+R~$n%VT3If&y}Ui(;+*X$3x2 ziI$YY?BEK&tiVKzIWs#kqqNMYxWE=0T9#lb%?L`5sI(RZrDo*$6ctyL=9ee?hWIDh zGOIEJqAit?H9e-f9+Lq(*rPujFaQHF2!r8>A#lP_41>1L7>*Gb2^WllD@MZ&?ihoy z7>Dtg01tR#A|_!nreG?jVLE2O3p3%3S(uGE@PRM<;14qbU_l^)5R4Ga#XQW%0xZNL zEJi4-2*VPDBLb0FiYP>58I~gkv4}%F5|D@_Bx40qkcu>pfzIEhne!40?(H=z|bqYby}!x9>)`S5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