Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-security] Settings API fix #1176

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions sdk/security/arm-security/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,6 @@ export interface SettingResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly type?: string;
/**
* Describes unknown properties. The value of an unknown property can be of "any" type.
*/
[property: string]: any;
}

/**
Expand Down
14 changes: 3 additions & 11 deletions sdk/security/arm-security/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -517,11 +517,6 @@ export const SettingResource: msRest.CompositeMapper = {
name: "String"
}
}
},
additionalProperties: {
type: {
name: "Object"
}
}
}
};
Expand All @@ -533,8 +528,7 @@ export const Setting: msRest.CompositeMapper = {
className: "Setting",
modelProperties: {
...SettingResource.type.modelProperties
},
additionalProperties: SettingResource.type.additionalProperties
}
}
};

Expand All @@ -552,8 +546,7 @@ export const DataExportSettings: msRest.CompositeMapper = {
name: "Boolean"
}
}
},
additionalProperties: SettingResource.type.additionalProperties
}
}
};

Expand Down Expand Up @@ -5222,8 +5215,7 @@ export const SettingsList: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
className: "Setting",
additionalProperties: SettingResource.type.additionalProperties
className: "Setting"
}
}
}
Expand Down