Azure / Azure/azure-rest-api-specs

testbase has a `provisioningState` of `Cancelled`

Open
#20,900 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

The spelling should be `Canceled`. To fix this, the specification should add `Canceled` and the service should return `Canceled` instead of `Cancelled`. See https://github.com/Azure/azure-resource-manager-rpc/issues/144 for details.

An example:

https://github.com/Azure/azure-rest-api-specs/blob/fa581bd5f31cbc6f6882b254ce5b0f5c20d84648/specification/testbase/resource-manager/Microsoft.TestBase/preview/2022-04-01-preview/testbase.json#L2899-L2915

Contributor guide

Open the contributing guide

Research direction

Open specification/testbase/resource-manager/Microsoft.TestBase/preview/2022-04-01-preview/testbase.json around lines 2899-2915 and inspect the provisioningState definition. Compare it with the referenced RPC issue, then verify the specification uses Canceled and that the service behavior is covered by the repository's available validation process.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.