Skip to content

Commit 266896b

Browse files
committed
Update import, code cleanup
1 parent 902936e commit 266896b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.OpenApi/Models/OpenApiSchema.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
576576
internal void WriteV31Properties(IOpenApiWriter writer)
577577
{
578578
writer.WriteProperty(OpenApiConstants.DollarSchema, Schema);
579-
writer.WriteOptionalCollection(OpenApiConstants.TypeArray, TypeArray, (w, s) => w.WriteRaw(s));
579+
writer.WriteOptionalCollection(OpenApiConstants.Type, TypeArray, (w, s) => w.WriteRaw(s));
580580
writer.WriteProperty(OpenApiConstants.Id, Id);
581581
writer.WriteProperty(OpenApiConstants.Comment, Comment);
582582
writer.WriteProperty(OpenApiConstants.Vocabulary, Vocabulary);

test/Microsoft.OpenApi.Readers.Tests/ParseNodes/ParserHelperTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the MIT license.
33

44
using System.Globalization;
5-
using Microsoft.OpenApi.Readers.ParseNodes;
5+
using Microsoft.OpenApi.Reader.ParseNodes;
66
using Xunit;
77

88
namespace Microsoft.OpenApi.Readers.Tests.ParseNodes

0 commit comments

Comments
 (0)