From 7240cb6bfd8a961bd39a5399ec7523b7c0c91420 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:11:15 +0000 Subject: [PATCH] (deps): Bump JsonSchema.Net.Generation from 3.3.2 to 3.4.0 Bumps [JsonSchema.Net.Generation](https://github.com/gregsdennis/json-everything) from 3.3.2 to 3.4.0. - [Commits](https://github.com/gregsdennis/json-everything/compare/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] --- src/Directory.Packages.props | 2 +- src/GitVersion.Schema/Program.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 99ba88fc46..52ec9b7aad 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -4,7 +4,7 @@ - + diff --git a/src/GitVersion.Schema/Program.cs b/src/GitVersion.Schema/Program.cs index 4472fb7d03..f7cb4a7f84 100644 --- a/src/GitVersion.Schema/Program.cs +++ b/src/GitVersion.Schema/Program.cs @@ -11,7 +11,7 @@ var configuration = new SchemaGeneratorConfiguration { - PropertyNamingMethod = PropertyNamingMethods.KebabCase, + PropertyNameResolver = PropertyNameResolvers.KebabCase, Nullability = Nullability.AllowForNullableValueTypes, PropertyOrder = PropertyOrder.ByName, }; @@ -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#");