Azure / Azure/azure-rest-api-specs

changeType in CommitRef have bad type

Open
#32,357 0 comments 0 reactions 0 assignees View on GitHub
customer-reported question
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

In most cases changeType have only one value eg. edit or rename.
But there are cases we can souch value in response:

Current:

"changeType": "edit, rename",

Please change value type on change type from string to array of string.

Expected:

"changeType": ["edit", "rename"]

Contributor guide

Open the contributing guide

Research direction

Start by locating the CommitRef definition and its changeType field in the API specifications. Review how the current string value is declared, then update the type so multiple values are represented as an array of strings. Confirm the resulting response matches ["edit", "rename"].

Written by the indexing model from the issue text.

Assessment

Domain
api, backend-api-design
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.