microsoft / microsoft/typespec
Consider adding DurationKnownEncoding.minutes
Open
compiler:core
design:accepted
design:needed
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
This comes up in the Planetary Computer API. minutes seems more unusual than milliseconds/seconds, but the Azure docs specifically call it out as a valid example - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#json-durations-use-fixed-time-intervals
Related https://github.com/microsoft/typespec/issues/6154
Contributor guide
Assessment
This issue has not been assessed yet.