-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
CodeGenIssues that relate to code generationIssues that relate to code generationMgmtThis issue is related to a management package.This issue is related to a management package.
Description
Library name and version
new gode gen with PaloAltoNetworks
Describe the bug
The resource model properties maked as flatten. the property model has a required porperty, it's not a requied parameter in the public ctor now.
Like:
model PrefixListResource
is Azure.ResourceManager.ProxyResource<PrefixObject, false> {
...ResourceNameParameter<
Resource = PrefixListResource,
...
}
model PrefixObject {
description?: string;
prefixList: string[];
}
Spec Link: https://github.com/Azure/azure-rest-api-specs/blob/f17f8a4c10b849aa2101140ecf4d78cad78ab299/specification/paloaltonetworks/PaloAltoNetworks.Management/models.tsp#L1157
It is exposed in the parameter in previous code gen.
Expected behavior
public LocalRulestackPrefixData(IEnumerable prefixList)
Actual behavior
public LocalRulestackPrefixData()
Reproduction Steps
/
Environment
No response
Metadata
Metadata
Assignees
Labels
CodeGenIssues that relate to code generationIssues that relate to code generationMgmtThis issue is related to a management package.This issue is related to a management package.