Update API documentation and license information

This commit is contained in:
ycc
2024-09-05 09:22:06 +02:00
parent e9ff0bd58c
commit 17aeef4ad0
5 changed files with 20 additions and 20 deletions

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-catalog",
"description": "OpenCloud catalog\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-catalog
description: |
beego has a very cool tools to autogenerate documents for your API
OpenCloud catalog
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:
/data/: