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/MasterResult'
- $ref: '#/components/schemas/ArtistResult' - $ref: '#/components/schemas/ArtistResult'
- $ref: '#/components/schemas/LabelResult' - $ref: '#/components/schemas/LabelResult'
required:
- pagination
- results
'401': '401':
$ref: '#/components/responses/Unauthorized' $ref: '#/components/responses/Unauthorized'
'500': '500':
@@ -576,6 +579,9 @@ paths:
type: array type: array
items: items:
$ref: '#/components/schemas/ArtistRelease' $ref: '#/components/schemas/ArtistRelease'
required:
- pagination
- releases
'404': '404':
$ref: '#/components/responses/NotFound' $ref: '#/components/responses/NotFound'
/labels/{label_id}: /labels/{label_id}:
@@ -640,6 +646,9 @@ paths:
type: array type: array
items: items:
$ref: '#/components/schemas/LabelRelease' $ref: '#/components/schemas/LabelRelease'
required:
- pagination
- releases
'404': '404':
$ref: '#/components/responses/NotFound' $ref: '#/components/responses/NotFound'
/masters/{master_id}: /masters/{master_id}:
@@ -713,6 +722,9 @@ paths:
type: array type: array
items: items:
$ref: '#/components/schemas/ReleaseVersion' $ref: '#/components/schemas/ReleaseVersion'
required:
- pagination
- versions
'404': '404':
$ref: '#/components/responses/NotFound' $ref: '#/components/responses/NotFound'
/releases/{release_id}: /releases/{release_id}: