File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Examples/SampleWebApp/Contract Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 13
13
<Copyright >Copyright © . All rights Reserved</Copyright >
14
14
<PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
15
15
<PackageLicenseExpression >MIT</PackageLicenseExpression >
16
- <PackageProjectUrl >https://github.com/darthfabar/ContractModelAttributeChecks </PackageProjectUrl >
17
- <RepositoryUrl >https://github.com/darthfabar/ContractModelAttributeChecks .git</RepositoryUrl >
16
+ <PackageProjectUrl >https://github.com/darthfabar/ContractModelsAttributeCheck </PackageProjectUrl >
17
+ <RepositoryUrl >https://github.com/darthfabar/ContractModelsAttributeCheck .git</RepositoryUrl >
18
18
<RepositoryType >git</RepositoryType >
19
- <PackageReleaseNotes >https://github.com/darthfabar/ContractModelAttributeChecks /releases</PackageReleaseNotes >
19
+ <PackageReleaseNotes >https://github.com/darthfabar/ContractModelsAttributeCheck /releases</PackageReleaseNotes >
20
20
</PropertyGroup >
21
21
22
22
<ItemGroup Label =" Package References" >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ namespace SampleWebApp.Contract.V1
3
3
public class Product
4
4
{
5
5
public int Id { get ; internal set ; }
6
- public string Name { get ; set ; }
6
+ public string Name { get ; set ; } = string . Empty ;
7
7
}
8
8
9
9
public class PagingParameters
@@ -15,13 +15,13 @@ public class PagingParameters
15
15
16
16
public class ProductCreate
17
17
{
18
- public string Name { get ; set ; }
18
+ public string Name { get ; set ; } = string . Empty ;
19
19
}
20
20
21
21
public class ErrorResponse
22
22
{
23
23
public int StatusCode { get ; set ; }
24
24
25
- public string Message { get ; set ; }
25
+ public string Message { get ; set ; } = string . Empty ;
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public class ProductV2
7
7
[ JsonPropertyName ( "id" ) ]
8
8
public int Id { get ; internal set ; }
9
9
[ JsonPropertyName ( "name" ) ]
10
- public string Name { get ; set ; }
10
+ public string Name { get ; set ; } = string . Empty ;
11
11
}
12
12
13
13
public class PagingParametersV2
@@ -22,7 +22,7 @@ public class PagingParametersV2
22
22
public class ProductCreateV2
23
23
{
24
24
[ JsonPropertyName ( "name" ) ]
25
- public string Name { get ; set ; }
25
+ public string Name { get ; set ; } = string . Empty ;
26
26
}
27
27
28
28
public class ErrorResponseV2
@@ -31,6 +31,6 @@ public class ErrorResponseV2
31
31
public int StatusCode { get ; set ; }
32
32
33
33
[ JsonPropertyName ( "message" ) ]
34
- public string Message { get ; set ; }
34
+ public string Message { get ; set ; } = string . Empty ;
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments