From 143ccb1e2a18c63cf246368a717c8a9e7732ed8f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 27 Jun 2024 17:08:29 -0700 Subject: [PATCH] Remove seriesTitle from EpisodeResource Closes #6841 --- src/Sonarr.Api.V3/Episodes/EpisodeResource.cs | 2 -- src/Sonarr.Api.V3/openapi.json | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs b/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs index 9a0ff01fa..b073a0670 100644 --- a/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs +++ b/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs @@ -34,7 +34,6 @@ public class EpisodeResource : RestResource public bool UnverifiedSceneNumbering { get; set; } public DateTime? EndTime { get; set; } public DateTime? GrabDate { get; set; } - public string SeriesTitle { get; set; } public SeriesResource Series { get; set; } public List Images { get; set; } @@ -79,7 +78,6 @@ public static EpisodeResource ToResource(this Episode model) SceneEpisodeNumber = model.SceneEpisodeNumber, SceneSeasonNumber = model.SceneSeasonNumber, UnverifiedSceneNumbering = model.UnverifiedSceneNumbering, - SeriesTitle = model.SeriesTitle, // Series = model.Series.MapToResource(), }; diff --git a/src/Sonarr.Api.V3/openapi.json b/src/Sonarr.Api.V3/openapi.json index 1e390e679..a5c4dd475 100644 --- a/src/Sonarr.Api.V3/openapi.json +++ b/src/Sonarr.Api.V3/openapi.json @@ -8483,10 +8483,6 @@ "format": "date-time", "nullable": true }, - "seriesTitle": { - "type": "string", - "nullable": true - }, "series": { "$ref": "#/components/schemas/SeriesResource" },