autorest icon indicating copy to clipboard operation
autorest copied to clipboard

[C#] AutoRest does not emit <see> links for operations

Open bitsforthought opened this issue 9 years ago • 2 comments

Currently AutoRest will generate <see> links for model classes and properties, but not for operation methods.

bitsforthought avatar Dec 09 '16 20:12 bitsforthought

Hmmm, I just ran the https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-with-external-docs.json (has externalDocs set on an operation) through AutoRest and I see

/// <summary>
/// Returns all pets from the system that the user has access to
/// <see href="https://swagger.io/about" />
/// </summary>

in front of said operation. On the other hand, I see zero effect for the root-node externalDocs property so something is indeed missing...

Do you mean that or have another example? :-)

olydis avatar Dec 10 '16 03:12 olydis

I was looking at some generated code from the Search SDK, but I must have been looking in the wrong place because I see the links now. Sorry for the noise. Closing this.

bitsforthought avatar Dec 12 '16 20:12 bitsforthought