Redocly/redoc

Support 64-bit integers in sample responses

Open

#530 geöffnet am 11. Juni 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (2.272 Forks)batch import
help wantedopenapi

Repository-Metriken

Stars
 (21.877 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide