autorest
autorest copied to clipboard
long-running-operation without a response body doesn't compile
Long running operations (like below) result in output code that doesn't compile.
"responses": {
"202": {
"description": ""
}
},
"x-ms-long-running-operation": true
The output error is:
The type arguments for method 'AzureClientExtensions.GetPutOrPatchOperationResultAsync
(IAzureClient, AzureOperationResponse, Dictionary<string, List
i am facing a similar issue with my spec. is there any work around for this?
It is in the backlog. We will take this up soon.
@parvezah, please open a pull request if it is blocking you. We're happy to review it :).
https://github.com/Azure/autorest/pull/917 Raised a PR. Can you have a look.