Skip to content

Commit 88ad997

Browse files
committed
fix: references callback writer
Signed-off-by: Vincent Biret <[email protected]>
1 parent 7afeabe commit 88ad997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.OpenApi/Models/OpenApiReference.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ public OpenApiReference(OpenApiReference reference)
158158
/// </summary>
159159
public void SerializeAsV31(IOpenApiWriter writer)
160160
{
161-
SerializeInternal(writer, x =>
161+
SerializeInternal(writer, w =>
162162
{
163163
// summary and description are in 3.1 but not in 3.0
164-
writer.WriteProperty(OpenApiConstants.Summary, Summary);
165-
writer.WriteProperty(OpenApiConstants.Description, Description);
164+
w.WriteProperty(OpenApiConstants.Summary, Summary);
165+
w.WriteProperty(OpenApiConstants.Description, Description);
166166
});
167167
}
168168

0 commit comments

Comments
 (0)