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.
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de ATVSCRUBBER
pe data de 2 septembrie 2024 la ora 1:42 PM
Where are you getting the spec from?
Răspuns de Daniel (AnachronisticTech)
pe data de 3 septembrie 2024 la ora 5:59 PM
I am using the v3 spec available from https://developer.themoviedb.org/openapi/64542913e1f86100738e227f accessible via this page.