backend: Add validation error responses for recording operations
This commit is contained in:
parent
3b79610558
commit
7c318f83b3
@ -51,6 +51,7 @@
|
|||||||
$ref: '../../components/responses/error-recording-not-found.yaml'
|
$ref: '../../components/responses/error-recording-not-found.yaml'
|
||||||
'409':
|
'409':
|
||||||
$ref: '../../components/responses/internal/error-recording-not-active.yaml'
|
$ref: '../../components/responses/internal/error-recording-not-active.yaml'
|
||||||
|
'422':
|
||||||
|
$ref: '../../components/responses/validation-error.yaml'
|
||||||
'500':
|
'500':
|
||||||
$ref: '../../components/responses/internal-server-error.yaml'
|
$ref: '../../components/responses/internal-server-error.yaml'
|
||||||
|
|
||||||
|
|||||||
@ -43,6 +43,8 @@
|
|||||||
$ref: '../components/responses/unauthorized-error.yaml'
|
$ref: '../components/responses/unauthorized-error.yaml'
|
||||||
'403':
|
'403':
|
||||||
$ref: '../components/responses/forbidden-error.yaml'
|
$ref: '../components/responses/forbidden-error.yaml'
|
||||||
|
'422':
|
||||||
|
$ref: '../components/responses/validation-error.yaml'
|
||||||
'500':
|
'500':
|
||||||
$ref: '../components/responses/internal-server-error.yaml'
|
$ref: '../components/responses/internal-server-error.yaml'
|
||||||
|
|
||||||
@ -99,6 +101,8 @@
|
|||||||
$ref: '../components/responses/forbidden-error.yaml'
|
$ref: '../components/responses/forbidden-error.yaml'
|
||||||
'404':
|
'404':
|
||||||
$ref: '../components/responses/error-recording-not-found.yaml'
|
$ref: '../components/responses/error-recording-not-found.yaml'
|
||||||
|
'422':
|
||||||
|
$ref: '../components/responses/validation-error.yaml'
|
||||||
'500':
|
'500':
|
||||||
$ref: '../components/responses/internal-server-error.yaml'
|
$ref: '../components/responses/internal-server-error.yaml'
|
||||||
delete:
|
delete:
|
||||||
@ -125,6 +129,8 @@
|
|||||||
$ref: '../components/responses/error-recording-not-found.yaml'
|
$ref: '../components/responses/error-recording-not-found.yaml'
|
||||||
'409':
|
'409':
|
||||||
$ref: '../components/responses/error-recording-in-progress.yaml'
|
$ref: '../components/responses/error-recording-in-progress.yaml'
|
||||||
|
'422':
|
||||||
|
$ref: '../components/responses/validation-error.yaml'
|
||||||
'500':
|
'500':
|
||||||
$ref: '../components/responses/internal-server-error.yaml'
|
$ref: '../components/responses/internal-server-error.yaml'
|
||||||
/recordings/{recordingId}/media:
|
/recordings/{recordingId}/media:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user