Azure / Azure/azure-rest-api-specs
Add x-ms-error-response for 404 errors in Compute
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
The error code of 404 lack the swagger extension of x-ms-error-response which cause SDK generation problem.
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2021-01-01/AppServicePlans.json#L140
http://azure.github.io/autorest/extensions/#x-ms-error-response
Please add the extension into the Swagger.
Contributor guide
Research direction
Open specification/web/resource-manager/Microsoft.Web/stable/2021-01-01/AppServicePlans.json at the referenced line and read the x-ms-error-response documentation. Check the 404 response definition in Compute, add the requested extension, and verify that the Swagger contains it for the affected response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100