Hello.
I have noticed that when using generated client code from the Swift OpenAPI Generator plugin, there is a runtime type mismatch on the response for endpoint /3/tv/{series_id}
causing deserialisation errors. The response property seasons.vote_average
is set to type integer
when its value could be a floating point number.
Would it be possible to update the spec to reflect this by setting the type to number
? I have made this change locally to work around the deserialisation and have not noticed any negative side effects.
Thank you for your time and consideration.
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от ATVSCRUBBER
, 2 сентября 2024 в 13:42
Where are you getting the spec from?
Ответ от Daniel (AnachronisticTech)
, 3 сентября 2024 в 17:59
I am using the v3 spec available from https://developer.themoviedb.org/openapi/64542913e1f86100738e227f accessible via this page.