Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
8 stars 28 forks source link

Allow `@armCommonDefinition` decorator to be used on enums and unions #1116

Open timotheeguerin opened 3 days ago

timotheeguerin commented 3 days ago

fix #995

azure-sdk commented 3 days ago

All changed packages have been documented.

Show changes ### `@azure-tools/typespec-azure-resource-manager` - _feature_ [✏️](https://github.com/timotheeguerin/typespec-azure/edit/arm-common-def-enum-union/.chronus/changes/arm-common-def-enum-union-2024-6-2-19-28-7.md?pr=/Azure/typespec-azure/pull/1116) > Link CommonTypes enums and unions to the swagger common types ### `@azure-tools/typespec-autorest` - _feature_ [✏️](https://github.com/timotheeguerin/typespec-azure/edit/arm-common-def-enum-union/.chronus/changes/arm-common-def-enum-union-2024-6-2-20-54-54.md?pr=/Azure/typespec-azure/pull/1116) > Resolve Arm Common Definitions for enums and unions as well
azure-sdk commented 3 days ago

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/1116/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/1116/