Azure / Azure/azure-rest-api-specs

UpdateSourceControl operation should model source control type as an enum

Open
#2,946 1 comment 0 reactions 0 assignees View on GitHub
Service Attention Web Apps
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

In https://github.com/Azure/azure-rest-api-specs/blob/67edb3f35a6b7342c8e48b4f0dc55099504eff50/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/ResourceProvider.json#L144 instead of a string it really should be an enum. At the very least the doc string for this param should be updated with the applicable values.

Contributor guide

Open the contributing guide

Research direction

Open specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/ResourceProvider.json at the UpdateSourceControl operation and inspect the source-control-type parameter. Done means the parameter is modeled as an enum rather than a string, or its documentation lists the applicable values, while keeping the specification valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.