package com.faforever.client.api.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.jasminb.jsonapi.annotations.Id;
import com.github.jasminb.jsonapi.annotations.Type;
import lombok.Data;

import java.time.OffsetDateTime;

@Data
@Type("leaderboard")
public class Leaderboard {
  @Id
  private String id;
  private OffsetDateTime createTime;
  private OffsetDateTime updateTime;
  //TODO: Remove JsonProperty if api gets rid of snake_case
  @JsonProperty("description_key")
  private String descriptionKey;
  @JsonProperty("name_key")
  private String nameKey;
  @JsonProperty("technical_name")
  private String technicalName;
}
@@ -36,62 +36,8 @@
 o;%0A%0A
-import com.fasterxml.jackson.annotation.JsonProperty;%0A
 impo
@@ -350,221 +350,64 @@
 ;%0A  
-//TODO: Remove JsonProperty if api gets rid of snake_case%0A  @JsonProperty(%22description_key%22)%0A  private String descriptionKey;%0A  @JsonProperty(%22name_key%22)%0A  private String nameKey;%0A  @JsonProperty(%22technical_name%22)
+private String descriptionKey;%0A  private String nameKey;
 %0A  p

Remove snake_case property (#2084)