When calling operation Certificates_CreateOrUpdate, we get response with status code 202, yet by this swagger definition, status code except 200 would raise HttpResponseError in generated sdk, which would cause confusion from customers.
Expected behavior
update the parameter responses like sample below to avoid error raised with status code 202:
Actual behavior
call Certificates_CreateOrUpdate with sdk generated by this swagger would raise HttpResponseError though the command would be successfully processed.
Reproduction Steps
call Certificates_CreateOrUpdate and receive the response with status code 202, below is the full log:
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-01-01/Certificates.json#L188
API Spec version
2023-01-01
Describe the bug
When calling operation Certificates_CreateOrUpdate, we get response with status code 202, yet by this swagger definition, status code except 200 would raise HttpResponseError in generated sdk, which would cause confusion from customers.
Expected behavior
update the parameter responses like sample below to avoid error raised with status code 202:
Actual behavior
call Certificates_CreateOrUpdate with sdk generated by this swagger would raise HttpResponseError though the command would be successfully processed.
Reproduction Steps
call Certificates_CreateOrUpdate and receive the response with status code 202, below is the full log:
Environment
No response