Azure / Azure/azure-rest-api-specs

azure app service: lack of required field in api

Open
#22,714 2 comments 2 reactions 0 assignees View on GitHub
App Services Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

When updating azure function/ web app's PublishingCredentialsPolicies, location is required in request body using [put ](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json#L766). However, it doesn't present in the [api](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json#L22353).

![image](https://user-images.githubusercontent.com/92154856/220291730-fc43df53-8abb-42c8-b236-2dae85839fa0.png)

Contributor guide

Open the contributing guide

Research direction

Start in specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json, comparing the PUT definition near line 766 with the API definition near line 22353. Confirm how PublishingCredentialsPolicies is represented and ensure the required location field is present in the API; done means the specification matches the request requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.