API doc update and license
This commit is contained in:
parent
40c050df0d
commit
18fe4b01ed
@ -1,10 +1,10 @@
|
|||||||
// @APIVersion 1.0.0
|
// @APIVersion 1.0.0
|
||||||
// @Title beego Test API
|
// @Title oc-shared
|
||||||
// @Description beego has a very cool tools to autogenerate documents for your API
|
// @Description Manages shared workspaces and their synchronization
|
||||||
// @Contact astaxie@gmail.com
|
// @Contact admin@o-cloud.io
|
||||||
// @TermsOfServiceUrl http://beego.me/
|
// @TermsOfServiceUrl http://cloud.o-forge.io/
|
||||||
// @License Apache 2.0
|
// @License MIT
|
||||||
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
|
// @LicenseUrl https://opensource.org/license/mit
|
||||||
package routers
|
package routers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"swagger": "2.0",
|
"swagger": "2.0",
|
||||||
"info": {
|
"info": {
|
||||||
"title": "beego Test API",
|
"title": "oc-shared",
|
||||||
"description": "beego has a very cool tools to autogenerate documents for your API\n",
|
"description": "Manages shared workspaces and their synchronization\n",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"termsOfService": "http://beego.me/",
|
"termsOfService": "http://cloud.o-forge.io/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "astaxie@gmail.com"
|
"email": "admin@o-cloud.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "MIT",
|
||||||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
"url": "https://opensource.org/license/mit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"basePath": "/oc",
|
"basePath": "/oc",
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
swagger: "2.0"
|
swagger: "2.0"
|
||||||
info:
|
info:
|
||||||
title: beego Test API
|
title: oc-shared
|
||||||
description: |
|
description: |
|
||||||
beego has a very cool tools to autogenerate documents for your API
|
Manages shared workspaces and their synchronization
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
termsOfService: http://beego.me/
|
termsOfService: http://cloud.o-forge.io/
|
||||||
contact:
|
contact:
|
||||||
email: astaxie@gmail.com
|
email: admin@o-cloud.io
|
||||||
license:
|
license:
|
||||||
name: Apache 2.0
|
name: MIT
|
||||||
url: http://www.apache.org/licenses/LICENSE-2.0.html
|
url: https://opensource.org/license/mit
|
||||||
basePath: /oc
|
basePath: /oc
|
||||||
paths:
|
paths:
|
||||||
/shared/workspace/:
|
/shared/workspace/:
|
||||||
|
Loading…
Reference in New Issue
Block a user