Skip to content

[Bug] Property should be public if it is a polymorphism type because its fields can't be expanded fully #1151

@BethanyZhou

Description

@BethanyZhou

https://github.com/Azure/azure-rest-api-specs/blob/fda03acb3594cdd152e50146045adcf588b8c6cf/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/bms.json#L8724

Workaround:

  • from: source-file-csharp
    where: $
    transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20221229.IDataConnection Property', 'public Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20221229.IDataConnection Property');

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugv4Need to be done in autorest.powershell V4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions