You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For non-top-level object properties, if it's a discriminator value, Pandora will skip setting the omitempty tag. However, I think the omitempty tag is required here.
Is there an existing issue for this?
Community Note
Service Used
Site Recovery
API Versions Used
2022-10-01
Description
The object in Swagger was described as
optional
but there is noomitempty
label in go-azure-sdk.Swagger Definition: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L10876
go-azure-sdk: https://github.com/hashicorp/go-azure-sdk/blob/main/resource-manager/recoveryservicessiterecovery/2022-10-01/replicationprotecteditems/model_disableprotectioninputproperties.go#L13
the correct request payload and response
the failed request payload and response
response is HTTP 202 without body
References
Azure/azure-rest-api-specs#22947
The text was updated successfully, but these errors were encountered: