Closed
Description
Describe the bug
When we use ArmResourceCreateOrUpdateAsync template and try to provide response using generic response in template (createOrUpdate is ArmResourceCreateOrReplaceAsync<Employee, Response = AcceptedResponse>;)
, it is not working and default response for this operation is generated in swagger.
To Reproduce
Playground sample In this sample I have used ArmResourceCreateOrReplaceAsync and ArmResourceDeleteAsync operation template and updated the response to be AcceptedResponse, but the update is only reflected in delete operation.
Expected behavior
The response in swagger generated should be what we provide in template.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment