Azure / Azure/azure-rest-api-specs
[TypeSpec Validation] Rule "Compile" should allow extra preview swaggers, if newer preview OR stable is typespec
Open
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
the code added in this PR did not match the intention:
https://github.com/Azure/azure-rest-api-specs/pull/39829/changes#diff-e42dcfa6993b81ce2f5785667d99e83c82cd4f099e075a914b3b2a7e251abbb3R191
the intent was to allow extra preview swaggers, if there is a newer preview OR stable that is also typespec.
the implementation only allows extra preview swaggers, if there is a new preview. a newer stable doesn't count.
Contributor guide
Assessment
This issue has not been assessed yet.