chore(docs): Updated API Reference (v2) (#8609)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4bd0917aed
commit
b23ddcdde8
@@ -299,6 +299,41 @@ get:
|
||||
tags:
|
||||
- Reservations
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
description: SUMMARY
|
||||
required:
|
||||
- limit
|
||||
- offset
|
||||
- count
|
||||
properties:
|
||||
limit:
|
||||
type: number
|
||||
title: limit
|
||||
description: The reservation's limit.
|
||||
offset:
|
||||
type: number
|
||||
title: offset
|
||||
description: The reservation's offset.
|
||||
count:
|
||||
type: number
|
||||
title: count
|
||||
description: The reservation's count.
|
||||
- type: object
|
||||
description: SUMMARY
|
||||
required:
|
||||
- reservations
|
||||
properties:
|
||||
reservations:
|
||||
type: array
|
||||
description: The reservation's reservations.
|
||||
items:
|
||||
$ref: ../components/schemas/ReservationResponse.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
@@ -421,6 +456,12 @@ post:
|
||||
tags:
|
||||
- Reservations
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/AdminReservationResponse.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
@@ -433,3 +474,4 @@ post:
|
||||
$ref: ../components/responses/invalid_request_error.yaml
|
||||
'500':
|
||||
$ref: ../components/responses/500_error.yaml
|
||||
x-workflow: createReservationsWorkflow
|
||||
|
||||
Reference in New Issue
Block a user