Azure / typespec-azure

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

Remove 'x-ms-client-flatten' in typespec-azure-resource-manager templates and make it conditional in autorest #1105

Open allenjzhang opened 4 days ago

allenjzhang commented 4 days ago

Closes #709

azure-sdk commented 4 days ago

All changed packages have been documented.

Show changes ### `@azure-tools/typespec-autorest` - _breaking_ [✏️](https://github.com/allenjzhang/typespec-azure/edit/azhang_RemoveClientFlatten/.chronus/changes/azhang_RemoveClientFlatten-2024-6-1-16-58-12.md?pr=/Azure/typespec-azure/pull/1105) > `x-ms-client-flatten` extension on some of resource properties property is now configurable to be emitted by autorest emitter. Default is false which will skip emission of that extension. ### `@azure-tools/typespec-azure-resource-manager` - _breaking_ [✏️](https://github.com/allenjzhang/typespec-azure/edit/azhang_RemoveClientFlatten/.chronus/changes/azhang_RemoveClientFlatten-2024-6-1-16-58-12.md?pr=/Azure/typespec-azure/pull/1105) > `x-ms-client-flatten` extension on some of resource properties property is now configurable to be emitted by autorest emitter. Default is false which will skip emission of that extension.
azure-sdk commented 4 days ago

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

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