From 3ec5d1ef3d9666f73ad64216746b7e395e7412f2 Mon Sep 17 00:00:00 2001 From: Johan van Eck Date: Thu, 29 Jul 2021 10:15:47 +0300 Subject: [PATCH] Update image swagger docs to represent the API correctly --- src/Radarr.Api.V3/swagger.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Radarr.Api.V3/swagger.json b/src/Radarr.Api.V3/swagger.json index 891e929b4..9170ade1e 100644 --- a/src/Radarr.Api.V3/swagger.json +++ b/src/Radarr.Api.V3/swagger.json @@ -3883,13 +3883,18 @@ "properties": { "coverType": { "type": "string", - "enum": [ - "poster", - "fanart" - ] + "enum": ["poster", "fanart"], + "example": "poster" }, "url": { - "type": "string" + "type": "string", + "summary": "A path that can be used together with the host to find the image - requires API key", + "example": "/radarr/MediaCover/39/poster.jpg?lastWrite=637618111851086964" + }, + "remoteUrl": { + "type": "string", + "summary": "A full URL of the TMDB source", + "example": "https://image.tmdb.org/t/p/original/i0FHyNF9VvQTXOi4yKnZJ1zql1.jpg" } }, "xml": {