eropple / nestjs-openapi3

OpenAPI 3.x document generation and serving for NestJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add BigInt support

eropple opened this issue · comments

Right now, we type-infer number, but (because we have to) we type-infer it to a float.

NodeJS 10.4 and up support BigInt, which we could and probably should standardize on for { type: 'integer' }. In doing so we can also add it to the coercion rules.