autorest icon indicating copy to clipboard operation
autorest copied to clipboard

x-ms-parameter-grouping cannot have a custom description

Open seansaleh opened this issue 10 years ago • 3 comments

Today using x-ms-parameter-grouping generates a comment such as

            /// <param name='searchRequestOptions'>
            /// Additional parameters for the operation
            /// </param>

When using multiple parameter groupings the comments on an operation become redundant and not useful. For example, after adding a second parameter grouping our comments on a operation look like this:

            /// <param name='searchRequestOptions'>
            /// Additional parameters for the operation
            /// </param>
            /// <param name='accessCondition'>
            /// Additional parameters for the operation
            /// </param>

It would be useful to be able to define a description somewhere that would propagate to the operation's parameter comments.

seansaleh avatar Jul 26 '16 22:07 seansaleh

👍

bitsforthought avatar Jul 26 '16 22:07 bitsforthought

Yes, let's add a description to the x-ms-parameter-grouping construct.

fearthecowboy avatar Jul 17 '17 20:07 fearthecowboy

adding to autorest 3.0 design.

fearthecowboy avatar Nov 22 '19 21:11 fearthecowboy