Redocly/redoc

Support 64-bit integers in sample responses

Open

#530 aperta il 11 giu 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (2272 fork)batch import
help wantedopenapi

Metriche repository

Star
 (21.877 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor