-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove 'x-ms-client-flatten' in typespec-azure-resource-manager templates and make it conditional in autorest #1105
Remove 'x-ms-client-flatten' in typespec-azure-resource-manager templates and make it conditional in autorest #1105
Conversation
All changed packages have been documented.
Show changes
|
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/ |
.chronus/changes/azhang_RemoveClientFlatten-2024-6-1-16-58-12.md
Outdated
Show resolved
Hide resolved
packages/typespec-azure-resource-manager/src/commontypes.private.decorators.ts
Outdated
Show resolved
Hide resolved
…zhang_RemoveClientFlatten
/** | ||
* Please DO NOT USE in RestAPI specs. | ||
* Internal decorator that deprecated direct usage of `x-ms-client-flatten` OpenAPI extension. | ||
* It will programatically enabled/disable client flattening with @flattenProperty with autorest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@allenjzhang i do not see where to set @flattenProperty
decorator, but only see the set of openapi2 x-ms-client-flatten
. am i miss sth?
Closes #709