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

7th
Jun 2017
John Kiragu
@kigsmtua
Jun 07 2017 08:24
Hey good peoplw
*people
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
mtherieau
@mtherieau
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