-
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
Replace direct OpenAPI extension reference to add x-ms-azure-resource
with internal decorator
#1123
Replace direct OpenAPI extension reference to add x-ms-azure-resource
with internal decorator
#1123
Conversation
…est emitter to still emit x-ms-azure-resource
All changed packages have been documented.
Show changes
|
.chronus/changes/azhang_RemoveAzureResource-2024-6-3-12-45-15.md
Outdated
Show resolved
Hide resolved
packages/typespec-azure-resource-manager/src/private.decorators.ts
Outdated
Show resolved
Hide resolved
You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/1123/ Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/1123/ |
…zhang_RemoveAzureResource
Removed direct reference to OpenAPI extension
x-ms-azure-resource
in ARM library and replaced with@Azure.ResourceManager.Private.azureResourceBase
decorator. It is only used internally on base resource types.autorest
emitter has been updated to check the decorator and still emitx-ms-azure-resource
extension in swagger.