autorest.typescript icon indicating copy to clipboard operation
autorest.typescript copied to clipboard

[RLC]: Provide api description for route for better intelli-sense

Open lirenhe opened this issue 4 years ago • 0 comments

When we call an path in RLC, the intellisense for the specific path looks like below:

path(path: "/deviceupdate/{instanceId}/updates/providers/{provider}/names", instanceId: string, provider: string): DeviceUpdateListNames

Resource for '/deviceupdate/{instanceId}/updates/providers/{provider}/names' has methods for the following verbs:

It doesn't provide enough information about the detail of this path. Can we use the "description" of this API call for better intellisense?

"/deviceupdate/{instanceId}/updates/providers/{provider}/names": {
  "get": {
    "tags": [
      "Update management"
    ],
    "description": "Get a list of all update names that match the specified provider.",

lirenhe avatar Apr 25 '22 05:04 lirenhe