Added some missing required properties in the 200 responses of some endpoints for the Open API specification document in the library target.

This commit is contained in:
2025-10-15 23:56:28 +02:00
parent 0d104ef173
commit 2519fa7857
+12
View File
@@ -508,6 +508,9 @@ paths:
- $ref: '#/components/schemas/MasterResult'
- $ref: '#/components/schemas/ArtistResult'
- $ref: '#/components/schemas/LabelResult'
required:
- pagination
- results
'401':
$ref: '#/components/responses/Unauthorized'
'500':
@@ -576,6 +579,9 @@ paths:
type: array
items:
$ref: '#/components/schemas/ArtistRelease'
required:
- pagination
- releases
'404':
$ref: '#/components/responses/NotFound'
/labels/{label_id}:
@@ -640,6 +646,9 @@ paths:
type: array
items:
$ref: '#/components/schemas/LabelRelease'
required:
- pagination
- releases
'404':
$ref: '#/components/responses/NotFound'
/masters/{master_id}:
@@ -713,6 +722,9 @@ paths:
type: array
items:
$ref: '#/components/schemas/ReleaseVersion'
required:
- pagination
- versions
'404':
$ref: '#/components/responses/NotFound'
/releases/{release_id}: