clash-api
clash-api copied to clipboard
Fix(enum): update WarState ENDED serial name to "warEnded"
The Clash of Clans API now returns "warEnded" instead of "ended" for the ENDED state.
This updates the @SerialName on WarState.ENDED to match the new API value and prevents deserialization errors.
Contributed under GPL-3.0.
+1, this needs to be merged, running into the same issue. Has someone a workaround?