-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Update TypeSpec for DeviceRegistry #29319
Conversation
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge. |
Swagger Generation Artifacts
|
Generated ApiView
|
specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml
Outdated
Show resolved
Hide resolved
specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
Given the current API version is still preview, breaking changes should be allowed for it. |
@live1206, @ArthurMa1978 @pshao25 - Those changes are breaking the swagger validation on our side for the fields moved from |
This reverts commit d1bbbb3.
No, this is not how Azure policy works. You have customers using the preview api-version and breaking those customers is not allowed. Instead, Azure policy is to ship a new api-version and then stop supporting the old api-version after 90 days. Now, customers have 90 days to migrate from the old to the new adopting the breaking changes. |
@live1206 you wrote:
But this is not correct: it is not allowed to break a deployed API version, even when in preview, per this doc. There is a minor bug in the tooling in which it should have added Per this Teams post by @davidemontanari looks like merging this PR caused breakage as captured by this Sev 2: Revert PR by @davidemontanari: |
* Update TypeSpec for DeviceRegistry * add client.tsp * fix model validation * fix example * fix example * remove unused csharp option * update client.tsp * fix tsp validation * fix more tsp validation * update csharp option
@davidemontanari @JeffreyRichter @konrad-jamrozik @davidemontanari I will try to add a new version for the needed change. |
ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting help
section at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.
Additional information
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiView
comment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.
Getting help
Purpose of this PR
andDue diligence checklist
.write access
per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Merge
comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queued
state, please add a comment with contents/azp run
.This should result in a new comment denoting a
PR validation pipeline
has started and the checks should be updated after few minutes.