зеркало из https://github.com/Azure/autorest.az.git
report the key error when user is using action
This commit is contained in:
Родитель
5e1357b92e
Коммит
88d99979b4
|
@ -145,7 +145,6 @@ function GetAction(model: CodeModelAz, actionName: string, param: Parameter, key
|
|||
output.push(" raise CLIError('usage error: {} [WRONG KEY] You only have the following keys to use : " + submethodparameters.join(", ") + ". And your key : '.format(option_string)" + " + kl + ' is invalid')");
|
||||
}
|
||||
model.ExitSubMethodParameters();
|
||||
|
||||
}
|
||||
|
||||
if (!foundProperties && preParamType == SchemaType.Dictionary) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче