-
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
Updating PUT operation requirements for SourceControls and SourceControlSyncJobs, updating streams’ value property, and updating examples. #3580
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: |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that this is a complex object - please remove the "type":"string
.
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.
I missed that, thanks. Fixed.
@@ -352,7 +352,8 @@ | |||
}, | |||
"securityToken": { | |||
"type": "string", |
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.
Now that this is a complex object - please remove the "type":"string
.
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.
Fixed.
@@ -352,7 +352,8 @@ | |||
}, | |||
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion. Fixed.
@@ -493,8 +494,8 @@ | |||
}, | |||
"securityToken": { | |||
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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.
Fixed.
@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! |
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.
Looks good to me! And thanks for fixing up the other descriptions :)
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-version
in the path should match theapi-version
in the spec).Quality of Swagger