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.
2 parents 7f14ba1 + 6152336 commit 4901a65Copy full SHA for 4901a65
src/Microsoft.OpenApi/Models/OpenApiDocument.cs
@@ -130,7 +130,7 @@ public void SerializeAsV3(IOpenApiWriter writer)
130
(w, key, component) =>
131
{
132
if (component.Reference != null &&
133
- component.Reference.Type == ReferenceType.Schema &&
+ component.Reference.Type == ReferenceType.PathItem &&
134
component.Reference.Id == key)
135
136
component.SerializeAsV3WithoutReference(w);
0 commit comments