From f0f4fb77d4b79243401cff1f45f7d3dfdc083ee6 Mon Sep 17 00:00:00 2001 From: ycc Date: Thu, 5 Sep 2024 09:38:18 +0200 Subject: [PATCH] licence update and git ignore for binary added --- .gitignore | 1 + routers/router.go | 4 ++-- swagger/swagger.json | 4 ++-- swagger/swagger.yml | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f03f930 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oc-datacenter diff --git a/routers/router.go b/routers/router.go index 9ccf086..1e9debc 100644 --- a/routers/router.go +++ b/routers/router.go @@ -3,8 +3,8 @@ // @Description Monitor owned datacenter activity // @Contact admin@o-cloud.io // @TermsOfServiceUrl http://cloud.o-forge.io/ -// @License Apache 2.0 -// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html +// @License MIT +// @LicenseUrl https://opensource.org/license/mit package routers import ( diff --git a/swagger/swagger.json b/swagger/swagger.json index 4c17e38..0affd31 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -9,8 +9,8 @@ "email": "admin@o-cloud.io" }, "license": { - "name": "Apache 2.0", - "url": "http://www.apache.org/licenses/LICENSE-2.0.html" + "name": "MIT", + "url": "https://opensource.org/license/mit" } }, "basePath": "/oc/", diff --git a/swagger/swagger.yml b/swagger/swagger.yml index 149dbc5..ce22a01 100644 --- a/swagger/swagger.yml +++ b/swagger/swagger.yml @@ -8,8 +8,8 @@ info: contact: email: admin@o-cloud.io license: - name: Apache 2.0 - url: http://www.apache.org/licenses/LICENSE-2.0.html + name: MIT + url: https://opensource.org/license/mit basePath: /oc/ paths: /booking/: