File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Microsoft.OpenApi/Models/References Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,16 +59,16 @@ public string Description
59
59
}
60
60
61
61
/// <inheritdoc/>
62
- public IDictionary < OperationType , OpenApiOperation > Operations { get => Target . Operations ; }
62
+ public IDictionary < OperationType , OpenApiOperation > Operations { get => Target ? . Operations ; }
63
63
64
64
/// <inheritdoc/>
65
- public IList < OpenApiServer > Servers { get => Target . Servers ; }
65
+ public IList < OpenApiServer > Servers { get => Target ? . Servers ; }
66
66
67
67
/// <inheritdoc/>
68
- public IList < IOpenApiParameter > Parameters { get => Target . Parameters ; }
68
+ public IList < IOpenApiParameter > Parameters { get => Target ? . Parameters ; }
69
69
70
70
/// <inheritdoc/>
71
- public IDictionary < string , IOpenApiExtension > Extensions { get => Target . Extensions ; }
71
+ public IDictionary < string , IOpenApiExtension > Extensions { get => Target ? . Extensions ; }
72
72
73
73
/// <inheritdoc/>
74
74
public override IOpenApiPathItem CopyReferenceAsTargetElementWithOverrides ( IOpenApiPathItem source )
You can’t perform that action at this time.
0 commit comments