Skip to content

Commit

Permalink
for Azure#802
Browse files Browse the repository at this point in the history
  • Loading branch information
changlong-liu committed Apr 13, 2021
1 parent 07798eb commit cf5e81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/CodeModelAzImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3052,7 +3052,7 @@ export class CodeModelCliImpl implements CodeModelAz {
let rawValue = deepCopy(netValue);
if (methodParam.value['isPolyOfSimple']) {
const keyToMatch =
methodParam.value.schema.discriminator?.property?.language?.default?.name;
methodParam.value.schema.discriminator?.property?.language?.cli?.cliKey;
if (keyToMatch) {
for (const methodParam of methodParamList) {
const polySubParamObj = methodParam.value;
Expand Down

0 comments on commit cf5e81b

Please sign in to comment.