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

@@ -23,6 +23,26 @@ paths:
responses:
"200":
description: '{booking} models.booking'
post:
tags:
- booking
description: |-
create booking
<br>
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/{id}:
get:
tags:
@@ -92,6 +112,17 @@ paths:
responses:
"200":
description: ""
/version/status:
get:
tags:
- version
description: |-
get status
<br>
operationId: VersionController.Status
responses:
"200":
description: ""
definitions:
models.object:
title: object