Azure / Azure/azure-sdk-tools

[Spec PR] there should be an error when preview is not the last enum value

Open
#14,983 0 comments 0 reactions 0 assignees View on GitHub
Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

Preview is not the last enum value, which is against the [TypeSpec Azure guidance](https://azure.github.io/typespec-azure/docs/howtos/versioning/01-preview-version/).

A problematic PR is https://github.com/Azure/azure-rest-api-specs/pull/41138/changes#diff-b26148005e681285ec1daa360430d71aed1454a824900836e0298754c4b1ca52

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked TypeSpec Azure guidance and the problematic azure-rest-api-specs PR, then locate the validation path used for enum versioning in this tools repository. Done means a spec PR where Preview is not the last enum value produces an error, with coverage for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.