Azure / Azure/azure-rest-api-specs

Add x-ms-error-response for 404 errors in Compute

Open
#17,160 3 comments 0 reactions 0 assignees View on GitHub
Service Attention Web Apps
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.