Azure / Azure/autorest.powershell

Clarify multiple parameter types not support exception message

Open
#501 2 comments 8 reactions 0 assignees View on GitHub
discussion
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

When building the generated client (using build-module.ps1) I get the following error message:

`The parameter 'Id' has multiple parameter types [Int64, String] defined, which is not supported`

This error message is not very helpful for locating which of all the available api endpoints with a parameter named id that is actually the source of the error.

It would be very helpful if any of the following information could be added to the error message:

* CmdLetName
* Filename
* Class
* Endpoint (url)

Anything that let us narrow the search scope to solve the issue (we have a lot of parameters that is named id from the url or body).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.