developer-relations icon indicating copy to clipboard operation
developer-relations copied to clipboard

Incorrect documentation for Match API.

Open noahkohrs opened this issue 2 years ago • 0 comments

Bug Description
Error in Match V5's ParticipantDto and ChallengeDto Documentation.

Problem Description
ChallengeDto: Fields earliestBaron, earliestDragonTakedown, earliestElderDragon, fastestLegendary and thirdInhibitorDestroyedTime are incorrectly documented as Integers while they can be Floats. ParticipantDto: Fields playerAugment5 and playerAugment6 are missing from the documentation while being present on request.

Expected Documentation should be consistent with reality.

Developer Impact
Might cause misusage of the API if the developers don't double checks before usage.

Repro Steps for the false integer value

  1. Do a get match request for the match "EUW1_7071521501" (for instance).
  2. Check the value for earliestDragonTakedown in multiples ChallengeDto, which is Floating Point Number.

noahkohrs avatar Aug 17 '24 22:08 noahkohrs