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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ATVSCRUBBER
on september 2, 2024 at 1:42 PM
Where are you getting the spec from?
Reply by Daniel (AnachronisticTech)
on september 3, 2024 at 5:59 PM
I am using the v3 spec available from https://developer.themoviedb.org/openapi/64542913e1f86100738e227f accessible via this page.