ChallengeConfigInfoDto.localizedNames: Map[String, Map[String, string]] is too vague.
localizedNames could be specified as Map[String, ChallengeDto]
where ChallengeDto is:
public data class ChallengeDto(
val description: String,
val name: String,
val shortDescription: String,
)
Incorrectly written as
Return value: Map[Long, Map[Integer, Map[Level, Double]]]
Description: Map of level to percentile of players who have achieved it - keys: ChallengeId -> Season -> Level -> percentile of players who achieved it
But is in reality:
Return value: Map[Long, Map[String, Double]]
Description: Map of level to percentile of players who have achieved it - keys: ChallengeId -> Rank-> percentile of players who achieved it.
This issue might be updated with additional lol-challenges documentation problems
/lol/challenges/v1/challenges/config
ChallengeConfigInfoDto.localizedNames: Map[String, Map[String, string]] is too vague.
localizedNames could be specified as Map[String, ChallengeDto]
where ChallengeDto is:
/lol/challenges/v1/challenges/percentiles
Incorrectly written as
Return value: Map[Long, Map[Integer, Map[Level, Double]]]
Description: Map of level to percentile of players who have achieved it - keys: ChallengeId -> Season -> Level -> percentile of players who achieved it
But is in reality:
Return value: Map[Long, Map[String, Double]]
Description: Map of level to percentile of players who have achieved it - keys: ChallengeId -> Rank-> percentile of players who achieved it.
This issue might be updated with additional lol-challenges documentation problems