openapi: add missing responses and remove unused ones
This commit is contained in:
parent
dccc4bc2f9
commit
33fd9eabfc
@ -1,4 +1,4 @@
|
||||
description: Room not found
|
||||
description: Room cannot be updated because it has an active meeting.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
||||
@ -7,7 +7,7 @@ content:
|
||||
member_not_found:
|
||||
summary: Room member does not exist in the specified room
|
||||
value:
|
||||
error: 'Room Error'
|
||||
error: 'Room Member Error'
|
||||
message: 'Room member "abc123" does not exist in room "room_123"'
|
||||
room_not_found:
|
||||
summary: Room does not exist
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
description: Rooms appearance configuration not defined
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../../schemas/error.yaml'
|
||||
example:
|
||||
error: 'Global Config Error'
|
||||
message: Rooms appearance configuration not defined
|
||||
@ -14,6 +14,10 @@
|
||||
responses:
|
||||
'201':
|
||||
$ref: '../../components/responses/internal/success-create-api-key.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/unauthorized-error.yaml'
|
||||
'403':
|
||||
$ref: '../components/responses/forbidden-error.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
get:
|
||||
@ -31,6 +35,10 @@
|
||||
responses:
|
||||
'200':
|
||||
$ref: '../../components/responses/internal/success-get-api-keys.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/unauthorized-error.yaml'
|
||||
'403':
|
||||
$ref: '../components/responses/forbidden-error.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
delete:
|
||||
@ -45,5 +53,9 @@
|
||||
responses:
|
||||
'200':
|
||||
$ref: '../../components/responses/internal/success-delete-api-key.yaml'
|
||||
'401':
|
||||
$ref: '../components/responses/unauthorized-error.yaml'
|
||||
'403':
|
||||
$ref: '../components/responses/forbidden-error.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
|
||||
@ -113,8 +113,6 @@
|
||||
$ref: '../../components/responses/unauthorized-error.yaml'
|
||||
'403':
|
||||
$ref: '../../components/responses/forbidden-error.yaml'
|
||||
'404':
|
||||
$ref: '../../components/responses/internal/error-appearance-config-not-defined.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
put:
|
||||
|
||||
@ -69,5 +69,7 @@
|
||||
$ref: '../../components/responses/forbidden-error.yaml'
|
||||
'404':
|
||||
$ref: '../../components/responses/internal/error-room-participant-not-found.yaml'
|
||||
'422':
|
||||
$ref: '../../components/responses/validation-error.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
|
||||
@ -139,8 +139,6 @@
|
||||
$ref: '../../components/responses/forbidden-error.yaml'
|
||||
'404':
|
||||
$ref: '../../components/responses/internal/error-user-not-found.yaml'
|
||||
'422':
|
||||
$ref: '../../components/responses/validation-error.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
delete:
|
||||
@ -166,7 +164,5 @@
|
||||
$ref: '../../components/responses/forbidden-error.yaml'
|
||||
'404':
|
||||
$ref: '../../components/responses/internal/error-user-not-found.yaml'
|
||||
'422':
|
||||
$ref: '../../components/responses/validation-error.yaml'
|
||||
'500':
|
||||
$ref: '../../components/responses/internal-server-error.yaml'
|
||||
|
||||
@ -270,6 +270,8 @@
|
||||
$ref: '../components/responses/forbidden-error.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/error-room-not-found.yaml'
|
||||
'409':
|
||||
$ref: '../components/responses/error-room-active-meeting.yaml'
|
||||
'422':
|
||||
$ref: '../components/responses/validation-error.yaml'
|
||||
'500':
|
||||
@ -300,6 +302,8 @@
|
||||
$ref: '../components/responses/forbidden-error.yaml'
|
||||
'404':
|
||||
$ref: '../components/responses/error-room-not-found.yaml'
|
||||
'409':
|
||||
$ref: '../components/responses/error-room-active-meeting.yaml'
|
||||
'422':
|
||||
$ref: '../components/responses/validation-error.yaml'
|
||||
'500':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user