The Movie Database Support Forum

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.

2 Antworten (Seite 1 von 1)

Jump to last post

Where are you getting the spec from?

I am using the v3 spec available from https://developer.themoviedb.org/openapi/64542913e1f86100738e227f accessible via this page.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden