Api Export - Get : res.Value is nil #22556
Labels
API Management
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
This issue needs attention from Azure service team or SDK team
Service Attention
This issue is responsible by Azure service team.
Bug Report
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement@v1.1.1
Same happen for :
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement/v2
What happened?
I'm trying to retrieve the OpenAPI Definition file by using the Golang example defined here :
https://learn.microsoft.com/en-us/rest/api/apimanagement/api-export/get?view=rest-apimanagement-2022-08-01&tabs=Go#exportapi
What did you expect or want to happen?
Get a response back with a res.Value.Link which contain the link but only the ID property is returned.
Expect (From the doc) :
Get (Code) :
How can we reproduce it?
Use one of the example in the page :
https://learn.microsoft.com/en-us/rest/api/apimanagement/api-export/get
Anything we should know about your environment.
go version go1.22.0 linux/amd64
or V2
The text was updated successfully, but these errors were encountered: