William Cheng fae9a798a0
Better handling of date, datetime in R client (#13706)
* better handling of date, datetime in R client

* use string instead of as.Date
2022-10-17 00:41:37 +08:00

1.2 KiB

petstore::FormatTest

Properties

Name Type Description Notes
integer integer [optional] [Max: 100] [Min: 10]
int32 integer [optional] [Max: 200] [Min: 20]
int64 integer [optional]
number numeric [Max: 543.2] [Min: 32.1]
float numeric [optional] [Max: 987.6] [Min: 54.3]
double numeric [optional] [Max: 123.4] [Min: 67.8]
string character [optional] [Pattern: [a-z]/i]
byte character
binary data.frame [optional]
date character [default to "Fri Jul 19 00:00:00 UTC 2019"]
dateTime character [optional] [default to "2015-10-28T14:38:02Z"]
uuid character [optional]
password character [Max. length: 64] [Min. length: 10]
pattern_with_digits character A string that is a 10 digit number. Can have leading zeros. [optional] [Pattern: ^\d{10}$]
pattern_with_digits_and_delimiter character A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. [optional] [Pattern: ^image_\d{1,3}$/i]