It's soooo trueWe have a lot of other stuff we're working through
I have so many bug reports mostly about swagger and actual code mismatch.
I've autogenerated my C# code with swagger and only half of methods worked from the box.
The biggest problem for me are nullable types in C#. Integer in C# couldn't be null but no integer was tagged as nullable in swagger but several ones turned into null in fact. So I need to decide if I should make all integers as nullable in code or I should wait if you tag some of them as nullable in swagger or maybe you will use 0 instead of null everywhere for non-nullable types in C#.
- class ArtworkExtendedRecord - nullable integer properties EpisodeId, MovieId,NetworkId,PeopleId,SeasonId,SeriesId,SeriesPeopleId and unlisted status property
- class Character - nullable integer properties EpisodeId, MovieId,PeopleId,SeriesId and unlisted PeopleType property
- class Company - problem with CompanyType property
class CompanyType - actual properties are companyTypeId and companyTypeName and not ID and Name like in swagger- class ContentRating - unlisted property Description
- class Entity - nullable MovieId,SeriesId is fact
- class EpisodeBaseRecord - nullable ImageType, Runtime and ulisted properties Overview, LastUpdated, FinaleType
- class EpisodeExtendedRecord - nullable AirsAfterSeason, AirsBeforeEpisode, AirsBeforeSeason and unlisted properties Overview, LastUpdated, FinaleType, Nominations, Networks, Studios
- class MovieBaseRecord - nullable Score, Runtime and unlisted LastUpdated
- class MovieExtendedRecord - nullable Score, Runtime and unlisted LastUpdated, several problems with underscores, problem with Companies
- class PeopleExtendedRecord - unlisted NameTranslations, OverviewTranslations, Translations
- class SearchResult - tranlation and overviews properties have another structure, unlisted objectID, some properties has underscores. The most bugged class
- class SeasonBaseRecord - nullable ImageType
and problem with Companies property GetAllSeasons has unlisted properties · Issue #113 · thetvdb/v4-api. - class SeasonExtendedRecord - nullable ImageType, wrong Type for Type, unlisted Companies and problem with TagOptions
class SeasonType - Type has wrong typeSeasonType type property is string · Issue #112 · thetvdb/v4-api- class SeriesBaseRecord - unlisted LastUpdated and averageRuntime
- class SeriesExtendedRecord - unlisted Episodes, LastUpdated and averageRuntime, Translations
- class Companies - looks differently in methods I think
- class Translation - nullable IsAlias
method GetListTranslation has array inside "data" property while othe similar methods have single object inside "data"GetListTranslation array instead of object · Issue #120 · thetvdb/v4-apimethod getSeasonTypes should have SeasonType array in swaggergetSeasonTypes wrong attribute · Issue #116 · thetvdb/v4-apiAlso it has altdvd type which is not listed in seasontype enumerations in other methods- method GetSeriesSeasonEpisodesTranslated has Series object in swagger but it has Series properties without object
- method GetSeriesExtended with meta=translation reffers to SeriesExtendedRecord object but it doesn't have "translation" object insid
I'll try to make issues for all of them but it will take some time.
Last edited: