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 的回复
于 2024 年 09 月 02 日 1:42下午
Where are you getting the spec from?
Daniel (AnachronisticTech) 的回复
于 2024 年 09 月 03 日 5:59下午
I am using the v3 spec available from https://developer.themoviedb.org/openapi/64542913e1f86100738e227f accessible via this page.