Updating PUT operation requirements for SourceControls and SourceControlSyncJobs, updating streams’ value property, and updating examples. #3580
Updating PUT operation requirements for SourceControls and SourceControlSyncJobs, updating streams’ value property, and updating examples. #3580annatisch merged 5 commits intoAzure:masterfrom Francisco-Gamino:sourcecontrol-fix
Conversation
…alues. Updating commitId description.
…g stream's examples.
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-nodeThe initial PR has been merged into your service PR: |
annatisch
left a comment
There was a problem hiding this comment.
Looks good - just a new minor things.
Just to confirm - are you aware that these changes are breaking and will result in a major version bump for all generated SDKs?
| @@ -493,8 +494,8 @@ | |||
| }, | |||
| "securityToken": { | |||
| "type": "string", | |||
There was a problem hiding this comment.
Now that this is a complex object - please remove the "type":"string.
There was a problem hiding this comment.
I missed that, thanks. Fixed.
| @@ -352,7 +352,8 @@ | |||
| }, | |||
| "securityToken": { | |||
| "type": "string", | |||
There was a problem hiding this comment.
Now that this is a complex object - please remove the "type":"string.
| "securityToken": { | ||
| "type": "string", | ||
| "description": "Gets or sets the authorization token for the repo of the source control." | ||
| "description": "Gets or sets the authorization token for the repo of the source control.", |
There was a problem hiding this comment.
Please avoid terminology like "Gets or sets" as this isn't idiomatic for all generated SDK languages. Just stick with the description: "The authorization token for the repo of the source control."
There was a problem hiding this comment.
Thank you for the suggestion. Fixed.
| "type": "string", | ||
| "maxLength": 1024, | ||
| "description": "Gets or sets the authorization token for the repo of the source control." | ||
| "description": "Gets or sets the authorization token for the repo of the source control.", |
There was a problem hiding this comment.
Please avoid terminology like "Gets or sets" as this isn't idiomatic for all generated SDK languages. Just stick with the description. This also applies to the other descriptions below.
|
@annatisch: Thank you for the fast review. I've updated the specs, could you please take another look? Regarding your comment: "Just to confirm - are you aware that these changes are breaking and will result in a major version bump for all generated SDKs?" Thanks! |
|
Thanks @Francisco-Gamino for the quick response! Whether you publish breaking changes to the SDKs is up to you - we generally recommend that service teams try to group as many breaking changes together so as to avoid frequently breaking releases - however you best know your customers and the frequency of major changes to your API :) Once the CI passes I will take another look! |
|
Thanks @Francisco-Gamino - do you want me to merge now or are you waiting on any internal review? |
|
Awesome! Thanks @annatisch! If you could merge it now, that would be great. Thanks again! |
The PR contains the following changes:
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger