Nodsoft / SocialGuard

Centralised Discord Trustlist to keep servers safe from known intruders.
https://socialguard.net
11 stars 2 forks source link

Swagger displays incorrect numeric values #8

Open SakuraIsayeki opened 3 years ago

SakuraIsayeki commented 3 years ago

Numeric values, such as Discord Snowflakes, have been reported as displayed incorrectly in Swagger, with discrepancies noted compared to the raw API request.

Most likely truncated/rounded numbers, and issues with the formatter, but the root cause seems unclear as of yet.

nathanielboucher commented 3 years ago

Maybe this will help? Seems Discord uses this format, from Twitter, as the Snowflake.

Maybe you can just get away with redefining the config for that logging param.