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 8361069 commit 45e40faCopy full SHA for 45e40fa
src/Microsoft.OpenApi/Models/References/OpenApiPathItemReference.cs
@@ -73,7 +73,7 @@ public string Description
73
/// <inheritdoc/>
74
public override IOpenApiPathItem CopyReferenceAsTargetElementWithOverrides(IOpenApiPathItem source)
75
{
76
- return source is OpenApiPathItem ? new OpenApiPathItem(this) : null;
+ return source is OpenApiPathItem ? new OpenApiPathItem(this) : source;
77
}
78
79
0 commit comments