Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit c765816

Browse files
committed
missing 3.1 => 3.2
1 parent ec30262 commit c765816

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/Microsoft.OpenApi.Readers.Tests/V32Tests/OpenApiDocumentSerializationTests .cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class OpenApiDocumentSerializationTests
2222
public async Task Serialize_DoesNotMutateDom(OpenApiSpecVersion version)
2323
{
2424
// Arrange
25-
var filePath = Path.Combine(SampleFolderPath, "docWith31properties.json");
25+
var filePath = Path.Combine(SampleFolderPath, "docWith32properties.json");
2626
var (doc, _) = await OpenApiDocument.LoadAsync(filePath, SettingsFixture.ReaderSettings);
2727

2828
// Act: Serialize using System.Text.Json

test/Microsoft.OpenApi.Readers.Tests/V32Tests/OpenApiDocumentTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Collections.Generic;
1+
using System.Collections.Generic;
22
using System.Globalization;
33
using System.IO;
44
using System.Threading.Tasks;
@@ -558,9 +558,9 @@ public async Task ParseExternalDocumentDereferenceToOpenApiDocumentByIdWorks()
558558
}
559559

560560
[Fact]
561-
public async Task ParseDocumentWith31PropertiesWorks()
561+
public async Task ParseDocumentWith32PropertiesWorks()
562562
{
563-
var path = Path.Combine(SampleFolderPath, "documentWith31Properties.yaml");
563+
var path = Path.Combine(SampleFolderPath, "documentWith32Properties.yaml");
564564
var doc = (await OpenApiDocument.LoadAsync(path, SettingsFixture.ReaderSettings)).Document;
565565
var outputStringWriter = new StringWriter();
566566
doc.SerializeAsV32(new OpenApiYamlWriter(outputStringWriter));

0 commit comments

Comments
 (0)