-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Synapse] - Build SDK based on API version 2021-04-01-preview and add SQL DW Gen3 API (2020-04-01-preview) #21769
[Synapse] - Build SDK based on API version 2021-04-01-preview and add SQL DW Gen3 API (2020-04-01-preview) #21769
Conversation
@@ -39,7 +39,7 @@ public OperationResource() | |||
/// <param name="endTime">Operation start time</param> | |||
/// <param name="percentComplete">Completion percentage of the | |||
/// operation</param> | |||
public OperationResource(string id = default(string), string name = default(string), string status = default(string), object properties = default(object), ErrorDetail error = default(ErrorDetail), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), double? percentComplete = default(double?)) | |||
public OperationResource(string id = default(string), string name = default(string), string status = default(string), object properties = default(object), ErrorResponse error = default(ErrorResponse), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), double? percentComplete = default(double?)) |
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.
this will result in a breaking change, please revert or have the breaking change team add the approval label to the spec pr
@@ -86,7 +86,7 @@ public OperationResource(string id = default(string), string name = default(stri | |||
/// Gets or sets errors from the operation | |||
/// </summary> | |||
[JsonProperty(PropertyName = "error")] | |||
public ErrorDetail Error { get; set; } | |||
public ErrorResponse Error { get; set; } |
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.
this will result in a breaking change, please revert or have the breaking change team add the approval label to the spec pr
/// Number code, e.g. P3.</param> | ||
/// <param name="tier">The tier or edition of the particular SKU, e.g. | ||
/// Basic, Premium.</param> | ||
public Sku(string name, string tier = default(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.
this will result in a breaking change, please revert or have the breaking change team add the approval label to the spec 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.
reverted
/// </summary> | ||
[JsonProperty(PropertyName = "capacity")] | ||
public int? Capacity { get; set; } |
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.
this will result in a breaking change, please revert or have the breaking change team add the approval label to the spec 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.
reverted
1ab9ecb
to
313b1d0
Compare
5c3dd71
to
a7bcdf2
Compare
major Swagger PR link: Azure/azure-rest-api-specs#13874
Swagger PR link to fix some breaking changes (Sku definition conflict between v2 and v3, exception to use ErrorResponse rather than ErrorContract): Azure/azure-rest-api-specs#14839 . These breaking changes have been approved.
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Please ensure to add changelog with this PR by answ...
Commit history page: https://github.com/Azure/azure-rest-api-specs/commits/master/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview
All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.
Draft
mode if it is:General Guidelines and Best Practices
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK. Please double check nuget.org current release version.Additional management plane SDK specific contribution checklist:
Note: Only applies to
Microsoft.Azure.Management.[RP]
orAzure.ResourceManager.[RP]
Management plane SDK Troubleshooting
If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add
new service
label and/or contact assigned reviewer.If the check fails at the
Verify Code Generation
step, please ensure:generate.ps1/cmd
to generate this PR instead of callingautorest
directly.Please pay attention to the @microsoft.csharp version output after running
generate.ps1
. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.Note: We have recently updated the PSH module called by
generate.ps1
to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.