The default schema used for parameters is string but the library try to infer the type of the parameters based on the value using regular expressions, the detected types are integer, number, boolean and string, if you find any problem in the inference process please open an issue.
- name: to
in: query
schema:
type: number
example: '2022-06-23T10:00:00.000+01:00'
- name: from
in: query
schema:
type: number
example: '2021-06-23T10:00:00.000+01:00'
Postman:
Results in:
Number
should beString