Skip to content

Commit 69051c8

Browse files
authored
chore: uses 31 serialization method
1 parent 5b5bac9 commit 69051c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/OpenApiDocument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public async Task<string> GetHashCodeAsync(CancellationToken cancellationToken =
550550
async Task WriteDocumentAsync(TextWriter writer, CancellationToken token)
551551
{
552552
var openApiJsonWriter = new OpenApiJsonWriter(writer, new() { Terse = true });
553-
SerializeAsV3(openApiJsonWriter);
553+
SerializeAsV31(openApiJsonWriter);
554554
await openApiJsonWriter.FlushAsync(cancellationToken).ConfigureAwait(false);
555555
}
556556
}

0 commit comments

Comments
 (0)