Update api doc and license

This commit is contained in:
ycc 2024-09-05 09:25:21 +02:00
parent d115738a5a
commit b7cb597602
4 changed files with 18 additions and 18 deletions

BIN
oc-workspace Executable file

Binary file not shown.

View File

@ -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-workspace
// @Description Manage user's named resource sets, kind of shopping carts
// @Contact admin@o-cloud.io
// @TermsOfServiceUrl http://cloud.o-forge.io/
// @License MIT
// @LicenseUrl https://opensource.org/license/mit
package routers
import (

View File

@ -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-workspace",
"description": "Manage user's named resource sets, kind of shopping carts\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/",

View File

@ -1,15 +1,15 @@
swagger: "2.0"
info:
title: beego Test API
title: oc-workspace
description: |
beego has a very cool tools to autogenerate documents for your API
Manage user's named resource sets, kind of shopping carts
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/: