This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
[AutoRest.Ruby] Inheritance usage of "Resource" is broken #957
Labels
ARM
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
investigating
P0
Sprint-106
Sprint-107
MsRestAzure
does not have a classProxyOnlyResource
. Inheritance logic is buggyExample: https://github.com/Azure/azure-sdk-for-ruby/blob/master/management/azure_mgmt_web/lib/generated/azure_mgmt_web/models/backup_item.rb#L11
AutoRest Code: https://github.com/vishrutshah/autorest.ruby/blob/master/src/azure/Model/CompositeTypeRba.cs#L51
Last changes to that model: https://github.com/Azure/autorest/pull/1769/files#diff-817aab60d4b1d87bb4f496c78f25e473R76
Some of other related problems are the swagger has marked the model wrong as
x-ms-azure-resource
. model ResourceUpdate is not a validx-ms-azure-resource
.The text was updated successfully, but these errors were encountered: