neo datacenter

This commit is contained in:
mr
2024-11-13 08:10:20 +01:00
parent 38e7910e09
commit fe42651686
6 changed files with 59 additions and 22 deletions

View File

@@ -9,8 +9,8 @@
"email": "admin@o-cloud.io"
},
"license": {
"name": "MIT",
"url": "https://opensource.org/license/mit"
"name": "AGPL",
"url": "https://www.gnu.org/licenses/agpl-3.0.html"
}
},
"basePath": "/oc/",
@@ -95,17 +95,24 @@
}
}
},
"/booking/search/{search}": {
"/booking/search/{start_date}/{end_date}": {
"get": {
"tags": [
"booking"
],
"description": "search booking\n\u003cbr\u003e",
"description": "search bookings\n\u003cbr\u003e",
"operationId": "BookingController.Search",
"parameters": [
{
"in": "path",
"name": "search",
"name": "start_date",
"description": "the word search you want to get",
"required": true,
"type": "string"
},
{
"in": "path",
"name": "end_date",
"description": "the word search you want to get",
"required": true,
"type": "string"
@@ -113,7 +120,7 @@
],
"responses": {
"200": {
"description": "{booking} models.booking"
"description": "{workspace} models.workspace"
}
}
}

View File

@@ -8,8 +8,8 @@ info:
contact:
email: admin@o-cloud.io
license:
name: MIT
url: https://opensource.org/license/mit
name: AGPL
url: https://www.gnu.org/licenses/agpl-3.0.html
basePath: /oc/
paths:
/booking/:
@@ -88,23 +88,28 @@ paths:
description: ""
schema:
$ref: '#/definitions/models.object'
/booking/search/{search}:
/booking/search/{start_date}/{end_date}:
get:
tags:
- booking
description: |-
search booking
search bookings
<br>
operationId: BookingController.Search
parameters:
- in: path
name: search
name: start_date
description: the word search you want to get
required: true
type: string
- in: path
name: end_date
description: the word search you want to get
required: true
type: string
responses:
"200":
description: '{booking} models.booking'
description: '{workspace} models.workspace'
/version/:
get:
tags: