fern
fern copied to clipboard
[Feature] Validate integers/doubles in the client
Is your feature request related to a problem? Please describe.
defining a request body property as an integer does not prevent floats from being sent
Describe the solution you'd like
typescript does not have an integer type, so the request type is number. I was hoping it was possible to validate the request body in the client?