diff --git a/main.go b/main.go index 19d6bcc..563f0f2 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,6 @@ import ( ) const appname = "oc-workflow" -const defaultConfigFile = "/etc/oc/conf.json" func main() { // Init the oc-lib diff --git a/oc-workflow b/oc-workflow new file mode 100755 index 0000000..a55ad8d Binary files /dev/null and b/oc-workflow differ diff --git a/routers/router.go b/routers/router.go index 52b7bee..afba43e 100644 --- a/routers/router.go +++ b/routers/router.go @@ -1,10 +1,10 @@ // @APIVersion 1.0.0 -// @Title beego Test API -// @Description beego has a very cool tools to autogenerate documents for your API -// @Contact astaxie@gmail.com -// @TermsOfServiceUrl http://beego.me/ -// @License Apache 2.0 -// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html +// @Title oc-workflow +// @Description Workflows management api +// @Contact admin@o-cloud.io +// @TermsOfServiceUrl http://cloud.o-forge.io/ +// @License MIT +// @LicenseUrl https://opensource.org/license/mit package routers import ( diff --git a/swagger/swagger.json b/swagger/swagger.json index 21566be..894a7fa 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -1,16 +1,16 @@ { "swagger": "2.0", "info": { - "title": "beego Test API", - "description": "beego has a very cool tools to autogenerate documents for your API\n", + "title": "oc-workflow", + "description": "Workflows management api\n", "version": "1.0.0", - "termsOfService": "http://beego.me/", + "termsOfService": "http://cloud.o-forge.io/", "contact": { - "email": "astaxie@gmail.com" + "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 9d8f2a8..b7b9022 100644 --- a/swagger/swagger.yml +++ b/swagger/swagger.yml @@ -1,15 +1,15 @@ swagger: "2.0" info: - title: beego Test API + title: oc-workflow description: | - beego has a very cool tools to autogenerate documents for your API + Workflows management api version: 1.0.0 - termsOfService: http://beego.me/ + termsOfService: http://cloud.o-forge.io/ contact: - email: astaxie@gmail.com + 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: /version/: