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:
@@ -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}:
|
||||
|
||||
Reference in New Issue
Block a user