mnahkies / openapi-code-generator

A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.
https://openapi-code-generator.nahkies.co.nz/
MIT License
17 stars 2 forks source link

feat: support exclusive min/max and multipleOf #144

Closed mnahkies closed 5 months ago

mnahkies commented 5 months ago

adds support for the rest of the number validation keywords defined by JSON schema validation.

also fixes a bug in #140 / #143 where 0 would be treated as undefined

relates #51

ref: https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#section-6.2