backend: Add validation error responses for recording operations

This commit is contained in:
Carlos Santos 2025-04-29 13:13:08 +02:00
parent 3b79610558
commit 7c318f83b3
2 changed files with 8 additions and 1 deletions

View File

@ -51,6 +51,7 @@
$ref: '../../components/responses/error-recording-not-found.yaml'
'409':
$ref: '../../components/responses/internal/error-recording-not-active.yaml'
'422':
$ref: '../../components/responses/validation-error.yaml'
'500':
$ref: '../../components/responses/internal-server-error.yaml'

View File

@ -43,6 +43,8 @@
$ref: '../components/responses/unauthorized-error.yaml'
'403':
$ref: '../components/responses/forbidden-error.yaml'
'422':
$ref: '../components/responses/validation-error.yaml'
'500':
$ref: '../components/responses/internal-server-error.yaml'
@ -99,6 +101,8 @@
$ref: '../components/responses/forbidden-error.yaml'
'404':
$ref: '../components/responses/error-recording-not-found.yaml'
'422':
$ref: '../components/responses/validation-error.yaml'
'500':
$ref: '../components/responses/internal-server-error.yaml'
delete:
@ -125,6 +129,8 @@
$ref: '../components/responses/error-recording-not-found.yaml'
'409':
$ref: '../components/responses/error-recording-in-progress.yaml'
'422':
$ref: '../components/responses/validation-error.yaml'
'500':
$ref: '../components/responses/internal-server-error.yaml'
/recordings/{recordingId}/media: