These are chat archives for Trax-air/swagger-parser

Jun 2017
John Kiragu
Jun 07 2017 08:24
Hey good peoplw
am getting ValueError: sample.yml is not a valid swagger2.0 file: Object of type 'datetime' is not JSON serializable on a valid swagger2 spec
any insights will be highly appreciated
Jun 07 2017 15:26
is sample.yml a file you have created? datetime is a format for strings, so use:
type: string
format: datetime
sorry: format: date-time