Bruce Johnston
Bruce Johnston
Attn: @jennifermarsman
+1 on this. Search has a TimeSpan property too.
Related PR: https://github.com/Azure/autorest/pull/369
Did some digging in the Swagger spec, and externalDocs isn't sufficient to cover all cases. For example, there is no mechanism to put any kind of documentation on enum labels....
A lot of customers are already familiar with our REST API, and it helps them grok how the SDK works to see the correspondence between client operations and REST API...
We use Markdown for both conceptual docs on Azure.com and reference docs on MSDN. The authoring experience for Azure.com is already open. For reference docs, I'm not sure I see...
FYI, I'm starting work on a PR for this issue.
But where would it go? You can't attach documentation to enum labels or operation groups anymore. For example, here is how the C# code for a simple enum used to...
Here's the relevant Swagger discussion for documenting enum labels: https://github.com/swagger-api/swagger-spec/issues/348
Seems like a useful enhancement, but what I'm proposing goes one step further by using strongly-typed objects instead of string constants. The benefit (at least for C#) is better Intellisense...