add link to github issue in modelerfour
This commit is contained in:
Родитель
c76d4ce2e0
Коммит
e7d25f6bee
|
@ -57,6 +57,7 @@ clicommon:
|
|||
$host: $host
|
||||
LRO: LRO
|
||||
# workaround for modelerfour issue
|
||||
# https://github.com/Azure/autorest.modelerfour/issues/195
|
||||
SubscriptionId: SubscriptionId
|
||||
parameter: 'camel'
|
||||
operation: 'pascal'
|
||||
|
|
|
@ -71,6 +71,7 @@ export class Helper {
|
|||
return CliConst.NamingType.operation;
|
||||
else if (node instanceof Parameter) {
|
||||
// workaround for modelerfour's bug, the naming convention is not applied to flattened parameter
|
||||
// https://github.com/Azure/autorest.modelerfour/issues/195
|
||||
if (node['flattened'] === true)
|
||||
return null;
|
||||
return node.schema?.type === SchemaType.Constant ? CliConst.NamingType.constant : CliConst.NamingType.parameter;
|
||||
|
|
Загрузка…
Ссылка в новой задаче