I'm new to swagger and writing my first spec. I've found following swagger date types*:
------------------------------------------------
| Common name | Swagger spec 1.2 |
------------------------------------------------
| string | string |
------------------------------------------------
| date | string, date |
------------------------------------------------
| dateTime | string, date-time |
------------------------------------------------
Now my timestamp looks like 2014-12-09T13:06:08.260+0000
is this even a Date? It doens't look like the date javascript new Date();
returns. I also haven't found a date type in the json specification.
Which type and format should i take, will it be better to take string instead of a date??
*: note this table is the short version from the swager wiki