Skip to content

Commit

Permalink
Merge pull request #3725 from GitTools/dependabot/nuget/JsonSchema.Ne…
Browse files Browse the repository at this point in the history
…t.Generation-3.4.0

(deps): Bump JsonSchema.Net.Generation from 3.3.2 to 3.4.0
  • Loading branch information
mergify[bot] authored Oct 12, 2023
2 parents 7681adc + 7240cb6 commit 8a2bb22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="FluentDateTime" Version="2.1.0" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.3.2" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.4.0" />
<PackageVersion Include="LibGit2Sharp" Version="0.27.2" />
<PackageVersion Include="JetBrains.Annotations" Version="2023.2.0" />
<PackageVersion Include="Microsoft.Build" Version="17.7.2" />
Expand Down
4 changes: 2 additions & 2 deletions src/GitVersion.Schema/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

var configuration = new SchemaGeneratorConfiguration
{
PropertyNamingMethod = PropertyNamingMethods.KebabCase,
PropertyNameResolver = PropertyNameResolvers.KebabCase,
Nullability = Nullability.AllowForNullableValueTypes,
PropertyOrder = PropertyOrder.ByName,
};
Expand All @@ -30,7 +30,7 @@
Console.WriteLine($"Writing schema to {fileName}");
schema.WriteToFile(fileName);

configuration.PropertyNamingMethod = PropertyNamingMethods.AsDeclared;
configuration.PropertyNameResolver = PropertyNameResolvers.AsDeclared;

builder = new JsonSchemaBuilder();
builder.Schema("http://json-schema.org/draft-07/schema#");
Expand Down

0 comments on commit 8a2bb22

Please sign in to comment.