oc-datacenter major oclib version + state checker

This commit is contained in:
mr
2024-08-21 12:04:12 +02:00
parent 08111137a6
commit 62b97c7aef
8 changed files with 134 additions and 13 deletions

View File

@@ -27,6 +27,33 @@
"description": "{booking} models.booking"
}
}
},
"post": {
"tags": [
"booking"
],
"description": "create booking\n\u003cbr\u003e",
"operationId": "BookingController.Post",
"parameters": [
{
"in": "body",
"name": "booking",
"description": "the booking you want to post",
"required": true,
"schema": {
"type": "string"
},
"type": "string"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/models.object"
}
}
}
}
},
"/booking/check/{start_date}/{end_date}": {
@@ -121,6 +148,20 @@
}
}
}
},
"/version/status": {
"get": {
"tags": [
"version"
],
"description": "get status\n\u003cbr\u003e",
"operationId": "VersionController.Status",
"responses": {
"200": {
"description": ""
}
}
}
}
},
"definitions": {