Skip to content

[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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JoyerJin
Copy link
Contributor

@JoyerJin JoyerJin commented Jun 13, 2025

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@Copilot Copilot AI review requested due to automatic review settings June 13, 2025 09:09
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copilot

This comment was marked as outdated.

@vidai-msft vidai-msft requested a review from Copilot June 13, 2025 09:31
Copilot

This comment was marked as outdated.

Copy link
Contributor

@vidai-msft vidai-msft left a 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.

@JoyerJin JoyerJin requested a review from Copilot June 18, 2025 03:12
Copy link
Contributor

@Copilot Copilot AI left a 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" in x-ms-mutability for location.
  • 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 the x-ms-mutability property.
    where: $.definitions.PurchaseRequest.properties.location.x-ms-mutability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants