api-guidelines
api-guidelines copied to clipboard
Inconsistent details example
Regarding: https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md In section 14.4.4 Example Response "details" object doesn't fit the definition of "details" in section 7.10.2, table Error: Object. Details should be Error[]
{
"error": {
"code": "requestLimitExceeded",
"message": "The caller has made too many requests in the time period.",
"details": {
"code": "RateLimit",
"limit": "1000",
"remaining": "0",
"reset": "1538152773",
}
}
}
It looks like in 14.4.4 "details" should be changed to "innerError".
Great article, thanks.