Skip to content

Commit

Permalink
(deps): Bump JsonSchema.Net.Generation from 3.3.2 to 3.4.0
Browse files Browse the repository at this point in the history
Bumps [JsonSchema.Net.Generation](https://github.com/gregsdennis/json-everything) from 3.3.2 to 3.4.0.
- [Commits](json-everything/json-everything@logic-v3.3.2...schema-gen-v3.4.0)

---
updated-dependencies:
- dependency-name: JsonSchema.Net.Generation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and arturcic committed Oct 12, 2023
1 parent 7681adc commit 7240cb6
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 7240cb6

Please sign in to comment.