Redocly/redoc

Support 64-bit integers in sample responses

Open

#530 aberto em 11 de jun. de 2018

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2.272 forks)batch import
help wantedopenapi

Métricas do repositório

Stars
 (21.877 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador