We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41fd508 commit ad859eaCopy full SHA for ad859ea
test/Microsoft.OpenApi.Readers.Tests/V3Tests/OpenApiDocumentTests.cs
@@ -1270,7 +1270,7 @@ public async Task SerializesDoubleHopeReferences()
1270
Description = "A reference to a pet"
1271
};
1272
document.AddComponent("PetReference", petSchemaReference);
1273
- document.AddComponent("Pet", petSchema);
+ document.AddComponent("Pet", petSchema); // does not add duplicate keys
1274
document.Paths.Add("/pets", new OpenApiPathItem
1275
{
1276
Operations = new()
0 commit comments