diff --git a/tests/Kiota.Builder.Tests/Extensions/OpenApiSchemaExtensionsTests.cs b/tests/Kiota.Builder.Tests/Extensions/OpenApiSchemaExtensionsTests.cs index 41732417ba..9077ecbe49 100644 --- a/tests/Kiota.Builder.Tests/Extensions/OpenApiSchemaExtensionsTests.cs +++ b/tests/Kiota.Builder.Tests/Extensions/OpenApiSchemaExtensionsTests.cs @@ -89,10 +89,12 @@ public void GetSchemaNameAllOfTitleEmpty() var schema = new OpenApiSchema { AllOf = [ - new() { + new() + { Title = "microsoft.graph.entity" }, - new() { + new() + { Title = "microsoft.graph.user" } ] @@ -107,13 +109,17 @@ public void GetSchemaNameAllOfReference() var schema = new OpenApiSchema { AllOf = [ - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.entity" } }, - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.user" } } @@ -130,12 +136,15 @@ public void GetSchemaNameAllOfNestedTitleEmpty() var schema = new OpenApiSchema { AllOf = [ - new() { + new() + { AllOf = [ - new() { + new() + { Title = "microsoft.graph.entity" }, - new() { + new() + { Title = "microsoft.graph.user" } ] @@ -152,15 +161,20 @@ public void GetSchemaNameAllOfNestedReference() var schema = new OpenApiSchema { AllOf = [ - new() { + new() + { AllOf = [ - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.entity" } }, - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.user" } } @@ -179,10 +193,12 @@ public void GetSchemaNameAnyOfTitleEmpty() var schema = new OpenApiSchema { AnyOf = [ - new() { + new() + { Title = "microsoft.graph.entity" }, - new() { + new() + { Title = "microsoft.graph.user" } ] @@ -197,13 +213,17 @@ public void GetSchemaNameAnyOfReference() var schema = new OpenApiSchema { AnyOf = [ - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.entity" } }, - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.user" } } @@ -220,10 +240,12 @@ public void GetSchemaNameOneOfTitleEmpty() var schema = new OpenApiSchema { OneOf = [ - new() { + new() + { Title = "microsoft.graph.entity" }, - new() { + new() + { Title = "microsoft.graph.user" } ] @@ -238,13 +260,17 @@ public void GetSchemaNameOneOfReference() var schema = new OpenApiSchema { OneOf = [ - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.entity" } }, - new() { - Reference = new() { + new() + { + Reference = new() + { Id = "microsoft.graph.user" } }