Skip to content

Copilot/fix swagger modelvalidation job again#5

Merged
sidanmor merged 3 commits into
sidanmor:metric-alerts-query-ga-version-2026-01-01from
Azure:copilot/fix-swagger-modelvalidation-job-again
Jun 30, 2026
Merged

Copilot/fix swagger modelvalidation job again#5
sidanmor merged 3 commits into
sidanmor:metric-alerts-query-ga-version-2026-01-01from
Azure:copilot/fix-swagger-modelvalidation-job-again

Conversation

@sidanmor

Copy link
Copy Markdown
Owner

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Click here to open a PR for only SDK configuration.

Copilot AI and others added 3 commits June 29, 2026 20:53
Co-authored-by: sidanmor <6368621+sidanmor@users.noreply.github.com>
…e/2026-01-01 createOrUpdate examples

The MetricAlerts_CreateOrUpdate swagger operation (stable/2026-01-01) only
defines a 200 response (TypeSpec uses ArmResourceUpdatedResponse override).
All 12 createOrUpdate example files included a 201 response which caused
RESPONSE_STATUS_CODE_NOT_IN_SPEC ModelValidation errors. Removed the 201
responses to align examples with the spec.

Co-authored-by: sidanmor <6368621+sidanmor@users.noreply.github.com>
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Comment generated by summarize-checks workflow run.

@sidanmor sidanmor merged commit 0e877c0 into sidanmor:metric-alerts-query-ga-version-2026-01-01 Jun 30, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants