autorest icon indicating copy to clipboard operation
autorest copied to clipboard

Timespan/duration support

Open devigned opened this issue 11 years ago • 4 comments

Timespan/duration support, batch REST API have some operations with request/response body include some fields are timespan format (ISO 8601).

devigned avatar Aug 04 '15 22:08 devigned

+1 on this. Search has a TimeSpan property too.

bitsforthought avatar Aug 06 '15 04:08 bitsforthought

We should support this as an extension format for type 'string' this way, generic swagger processors will still parse correctly.

markcowl avatar Aug 17 '15 23:08 markcowl

Related PR: https://github.com/Azure/autorest/pull/369

bitsforthought avatar Sep 29 '15 21:09 bitsforthought

@devigned This is now added.

matthchr avatar Oct 17 '15 01:10 matthchr