diff --git a/src/Lidarr.Api.V1/openapi.json b/src/Lidarr.Api.V1/openapi.json index c92dfe454..a940258aa 100644 --- a/src/Lidarr.Api.V1/openapi.json +++ b/src/Lidarr.Api.V1/openapi.json @@ -327,7 +327,17 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlbumResource" + } + } + } + } } } } @@ -620,7 +630,17 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ArtistResource" + } + } + } + } } } } @@ -7292,7 +7312,17 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SearchResource" + } + } + } + } } } } @@ -12397,6 +12427,26 @@ ], "type": "string" }, + "SearchResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "foreignId": { + "type": "string", + "nullable": true + }, + "artist": { + "$ref": "#/components/schemas/ArtistResource" + }, + "album": { + "$ref": "#/components/schemas/AlbumResource" + } + }, + "additionalProperties": false + }, "SecondaryAlbumType": { "type": "object", "properties": {