File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
</PropertyGroup >
5
5
<ItemGroup >
6
6
<PackageVersion Include =" FluentDateTime" Version =" 2.1.0" />
7
- <PackageVersion Include =" JsonSchema.Net.Generation" Version =" 3.3.2 " />
7
+ <PackageVersion Include =" JsonSchema.Net.Generation" Version =" 3.4.0 " />
8
8
<PackageVersion Include =" LibGit2Sharp" Version =" 0.27.2" />
9
9
<PackageVersion Include =" JetBrains.Annotations" Version =" 2023.2.0" />
10
10
<PackageVersion Include =" Microsoft.Build" Version =" 17.7.2" />
Original file line number Diff line number Diff line change 11
11
12
12
var configuration = new SchemaGeneratorConfiguration
13
13
{
14
- PropertyNamingMethod = PropertyNamingMethods . KebabCase ,
14
+ PropertyNameResolver = PropertyNameResolvers . KebabCase ,
15
15
Nullability = Nullability . AllowForNullableValueTypes ,
16
16
PropertyOrder = PropertyOrder . ByName ,
17
17
} ;
30
30
Console . WriteLine ( $ "Writing schema to { fileName } ") ;
31
31
schema . WriteToFile ( fileName ) ;
32
32
33
- configuration . PropertyNamingMethod = PropertyNamingMethods . AsDeclared ;
33
+ configuration . PropertyNameResolver = PropertyNameResolvers . AsDeclared ;
34
34
35
35
builder = new JsonSchemaBuilder ( ) ;
36
36
builder . Schema ( "http://json-schema.org/draft-07/schema#" ) ;
You can’t perform that action at this time.
0 commit comments