-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Updated .NET SDK from latest swagger for RecoveryServices.Backup #3311
Conversation
@@ -28,10 +28,10 @@ public class Page2<T> : IPage<T> | |||
/// <summary> | |||
/// Gets the link to the next page. | |||
/// </summary> | |||
[JsonProperty("")] | |||
[JsonProperty("NextLink")] |
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.
@DheerendraRathor why is it not camelCase?
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 is auto generated from swagger spec and which in turn reflects field name directly from service data contracts.
public string NextPageLink { get; private set; } | ||
|
||
[JsonProperty("value")] | ||
[JsonProperty("Value")] |
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.
@DheerendraRathor any reason this is not camelCase?
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.
Same as for "NextLink"
@@ -3,7 +3,7 @@ | |||
<PropertyGroup> | |||
<PackageId>Microsoft.Azure.Management.RecoveryServices.Backup</PackageId> | |||
<Description>Provides developers with libraries for the updated recovery services backup feature under Azure Resource manager.</Description> | |||
<VersionPrefix>1.3.0-preview</VersionPrefix> | |||
<VersionPrefix>1.4.0-preview</VersionPrefix> |
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.
@DheerendraRathor you have a breaking change, that requires major version change and not minor version.
Please also use latest resource manager nuget package for recording your tests that you have in this PR.
You are still using 1.1.0-preview Resource Manager and you need start using >=1.6.0
@@ -8,7 +8,7 @@ | |||
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Recovery Services Backup Resources.")] | |||
|
|||
[assembly: AssemblyVersion("1.0.0.0")] | |||
[assembly: AssemblyFileVersion("1.3.0.0")] | |||
[assembly: AssemblyFileVersion("1.4.0.0")] |
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.
@DheerendraRathor major version change in FileVersion as well as AssemblyVersion
@shahabhijeet Currently project is referring |
@DheerendraRathor you add the new package in your test project and not in reference.props file. |
- Upgraded version to 2.0.0-preview - Removed redundant files - Added tests and record files for List Operations API - Updated ResourceManager to 1.6.0-preview
93fc474
to
e77137a
Compare
@shahabhijeet Can you please look into it? It has been pending for a while now. |
Description
Swagger spec PR: Azure/azure-rest-api-specs#1267
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK.