diff --git a/src/NJsonSchema.CodeGeneration.CSharp/NJsonSchema.CodeGeneration.CSharp.csproj b/src/NJsonSchema.CodeGeneration.CSharp/NJsonSchema.CodeGeneration.CSharp.csproj index a1f89977e..883e57cfd 100644 --- a/src/NJsonSchema.CodeGeneration.CSharp/NJsonSchema.CodeGeneration.CSharp.csproj +++ b/src/NJsonSchema.CodeGeneration.CSharp/NJsonSchema.CodeGeneration.CSharp.csproj @@ -12,9 +12,6 @@ - - - diff --git a/src/NJsonSchema.CodeGeneration.TypeScript/NJsonSchema.CodeGeneration.TypeScript.csproj b/src/NJsonSchema.CodeGeneration.TypeScript/NJsonSchema.CodeGeneration.TypeScript.csproj index 5fbb9599f..7425d905e 100644 --- a/src/NJsonSchema.CodeGeneration.TypeScript/NJsonSchema.CodeGeneration.TypeScript.csproj +++ b/src/NJsonSchema.CodeGeneration.TypeScript/NJsonSchema.CodeGeneration.TypeScript.csproj @@ -18,9 +18,6 @@ - - - diff --git a/src/NJsonSchema.CodeGeneration/NJsonSchema.CodeGeneration.csproj b/src/NJsonSchema.CodeGeneration/NJsonSchema.CodeGeneration.csproj index 824ed4b8a..f7bd00291 100644 --- a/src/NJsonSchema.CodeGeneration/NJsonSchema.CodeGeneration.csproj +++ b/src/NJsonSchema.CodeGeneration/NJsonSchema.CodeGeneration.csproj @@ -7,7 +7,6 @@ - diff --git a/src/NJsonSchema.Tests/Converters/JsonExceptionConverterTests.cs b/src/NJsonSchema.Tests/Converters/JsonExceptionConverterTests.cs index 7390b4558..384c820a1 100644 --- a/src/NJsonSchema.Tests/Converters/JsonExceptionConverterTests.cs +++ b/src/NJsonSchema.Tests/Converters/JsonExceptionConverterTests.cs @@ -106,7 +106,7 @@ private static JsonSerializerSettings CreateSettings(bool hideStackTrace = false var settings = new JsonSerializerSettings { Formatting = Formatting.Indented, - ContractResolver = new CamelCasePropertyNamesContractResolver(), + ContractResolver = new DefaultContractResolver(), ReferenceLoopHandling = ReferenceLoopHandling.Ignore, Converters = { diff --git a/src/NJsonSchema.Tests/Validation/LineInformationTest.cs b/src/NJsonSchema.Tests/Validation/LineInformationTest.cs index 20805e10e..d1cee9275 100644 --- a/src/NJsonSchema.Tests/Validation/LineInformationTest.cs +++ b/src/NJsonSchema.Tests/Validation/LineInformationTest.cs @@ -94,9 +94,9 @@ public async Task When_validating_from_jtoken_parse_line_information_if_exists() await InitAsync(); //// Act - var tokenWithInfo = JToken.Parse(Json, new JsonLoadSettings() {LineInfoHandling = LineInfoHandling.Ignore}); + var tokenWithInfo = JToken.Parse(Json, new JsonLoadSettings() {LineInfoHandling = LineInfoHandling.Load}); var errorsWithInfo = Schema.Validate(tokenWithInfo); - var tokenNoInfoParse = JToken.Parse(Json, new JsonLoadSettings() {LineInfoHandling = LineInfoHandling.Load}); + var tokenNoInfoParse = JToken.Parse(Json, new JsonLoadSettings() {LineInfoHandling = LineInfoHandling.Ignore}); var errorsNoInfoParse = Schema.Validate(tokenNoInfoParse); var tokenNoInfoDeserialize = JsonConvert.DeserializeObject(Json); var errorsNoInfoDeserialize = Schema.Validate(tokenNoInfoDeserialize); diff --git a/src/NJsonSchema/NJsonSchema.csproj b/src/NJsonSchema/NJsonSchema.csproj index 285c1f6f5..511208ba7 100644 --- a/src/NJsonSchema/NJsonSchema.csproj +++ b/src/NJsonSchema/NJsonSchema.csproj @@ -14,7 +14,7 @@ - +