-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add visibility and optionality for provisioning state & linting rules #323
Conversation
All changed packages have been documented. |
You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/323/ Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/323/ |
.chronus/changes/azhang_provisioningState-2024-1-27-10-36-42.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
Here is the azure-openapi-validator PR that will disable this rule once this is released: |
@@ -516,12 +516,10 @@ | |||
"properties": { | |||
"provisioningState": { | |||
"$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", | |||
"description": "The provisioning state of the resource." | |||
"description": "The provisioning state of the resource.", | |||
"readOnly": true |
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.
Note: We should make sure these samples are using the suggested read-only-status-schema: true setting. We can do this in a separate PR
…hang/typespec-azure into azhang_provisioningState
https://github.com/Azure/typespec-azure-pr/issues/2638