-
Notifications
You must be signed in to change notification settings - Fork 4k
[PS Reservation] Fixed purchase request missing update x-ms-mutability for location #27958
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
base: main
Are you sure you want to change the base?
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
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.
Please update the misspelled words.
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.
Pull Request Overview
This PR ensures the location
property in the PurchaseRequest schema is marked as updatable in Autorest, bumps the module version, and cleans up typos across docs and examples.
- Added an Autorest directive to include
"update"
inx-ms-mutability
forlocation
. - Corrected spelling errors (
qualified
,truncated
,properties
) in examples and docs. - Bumped the module version in
AssemblyInfo.cs
, updated the release date in the manifest, and added a ChangeLog entry.
Reviewed Changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
src/Reservations/Reservations.Autorest/README.md | Added transform to set x-ms-mutability to ["read","update","create"] for location |
src/Reservations/Reservations.Autorest/examples/*.md | Fixed typos: “qulified” → “qualified”, “trucated” → “truncated” |
src/Reservations/Reservations/ChangeLog.md | Added upcoming release note about mutability fix |
src/Reservations/Reservations.Autorest/Properties/AssemblyInfo.cs | Bumped AssemblyVersion and FileVersion to 0.14.0 |
src/Reservations/Reservations/Az.Reservations.psd1 | Updated # Generated on date and bumped Az.Accounts dependency version |
Comments suppressed due to low confidence (1)
src/Reservations/Reservations.Autorest/README.md:58
- Because the property name contains a hyphen, switch to bracket notation (e.g.,
['x-ms-mutability']
) in the JSON path to ensure Autorest correctly matches thex-ms-mutability
property.
where: $.definitions.PurchaseRequest.properties.location.x-ms-mutability
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.