File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Microsoft.OpenApi/Models/References Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,11 @@ public void SerializeAsV31(IOpenApiWriter writer)
117
117
}
118
118
119
119
/// <inheritdoc/>
120
- public IOpenApiCallback CopyReferenceAsTargetElementWithOverrides ( IOpenApiCallback openApiExample )
120
+ public IOpenApiCallback CopyReferenceAsTargetElementWithOverrides ( IOpenApiCallback source )
121
121
{
122
122
// the copy here is never called since callbacks do not have any overridable fields.
123
123
// if the spec evolves to include overridable fields for callbacks, the serialize methods will need to call this copy method.
124
- return openApiExample is OpenApiCallback ? new OpenApiCallback ( this ) : openApiExample ;
124
+ return source is OpenApiCallback ? new OpenApiCallback ( this ) : source ;
125
125
}
126
126
127
127
/// <inheritdoc/>
You can’t perform that action at this time.
0 commit comments