Redocly/redoc

Support 64-bit integers in sample responses

Open

#530 ouverte le 11 juin 2018

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)TypeScript (2 272 forks)batch import
help wantedopenapi

Métriques du dépôt

Stars
 (21 877 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Currently on 2.0, 64-bit integers are truncated to 53 bits due to limitations in JavaScript. This shows in the sample response, where integer 10765432100123456789 is truncated to 10765432100123458000.

It would be nice if ReDoc supported rendering integers with format int64 correctly in sample responses.

Guide contributeur