Skip to content

Commit 1006879

Browse files
committed
fix: extraneous null prop removal
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent eeb79a4 commit 1006879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/References/OpenApiParameterReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public OpenApiParameterReference(OpenApiParameterReference parameter)
6868
{
6969
Utils.CheckArgumentNull(parameter);
7070
Reference = parameter.Reference != null ? new(parameter.Reference) : null;
71-
UnresolvedReference = parameter?.UnresolvedReference ?? false;
71+
UnresolvedReference = parameter.UnresolvedReference;
7272
//no need to copy summary and description as if they are not overridden, they will be fetched from the target
7373
//if they are, the reference copy will handle it
7474
}

0 commit comments

Comments
 (0)