From 2519fa7857307ac4bd18982570f7b1e1a2630151 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Wed, 15 Oct 2025 23:56:28 +0200 Subject: [PATCH] Added some missing required properties in the 200 responses of some endpoints for the Open API specification document in the library target. --- Sources/DiscogsService/openapi.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Sources/DiscogsService/openapi.yaml b/Sources/DiscogsService/openapi.yaml index ba3af89d7..82cd8b42a 100644 --- a/Sources/DiscogsService/openapi.yaml +++ b/Sources/DiscogsService/openapi.yaml @@ -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}: