Skip to content

Commit

Permalink
fix: extraneous null prop removal
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
  • Loading branch information
baywet committed Jan 24, 2025
1 parent eeb79a4 commit 1006879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public OpenApiParameterReference(OpenApiParameterReference parameter)
{
Utils.CheckArgumentNull(parameter);
Reference = parameter.Reference != null ? new(parameter.Reference) : null;
UnresolvedReference = parameter?.UnresolvedReference ?? false;
UnresolvedReference = parameter.UnresolvedReference;
//no need to copy summary and description as if they are not overridden, they will be fetched from the target
//if they are, the reference copy will handle it
}
Expand Down

0 comments on commit 1006879

Please sign in to comment.