Skip to content

Commit f381fb7

Browse files
committed
Clean up tests
1 parent d57aad8 commit f381fb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/Microsoft.OpenApi.Readers.Tests/V3Tests/Samples/OpenApiDocument/documentWithReusablePaths.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
info:
33
title: Webhook Example
44
version: 1.0.0
5+
jsonSchemaDialect: "http://json-schema.org/draft-07/schema#"
56
webhooks:
67
/pets:
78
"$ref": '#/components/pathItems/pets'

test/Microsoft.OpenApi.Tests/Models/OpenApiDocumentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ public async void SerializeDocumentWithWebhooksAsV3JsonWorks(bool produceTerseOu
14391439
var writer = new OpenApiJsonWriter(outputStringWriter, new OpenApiJsonWriterSettings { Terse = produceTerseOutput });
14401440

14411441
// Act
1442-
DocumentWithWebhooks.SerializeAsV3(writer, OpenApiSpecVersion.OpenApi3_1);
1442+
DocumentWithWebhooks.SerializeAsV31(writer);
14431443
writer.Flush();
14441444
var actual = outputStringWriter.GetStringBuilder().ToString();
14451445

0 commit comments

Comments
 (0)