Skip to content

Commit 1c19986

Browse files
Update src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
Co-authored-by: Andrew Omondi <[email protected]>
1 parent 38ba98e commit 1c19986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/OpenApiMediaType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private void SerializeExamples(IOpenApiWriter writer, IDictionary<string, OpenAp
109109
{
110110
writer.WritePropertyName(OpenApiConstants.Examples);
111111
writer.WriteStartObject();
112-
foreach (var kvp in examples.Where(kvp => kvp.Value.Value is OpenApiArray arr && arr.Count == 0))
112+
foreach (var kvp in examples.Where(static kvp => kvp.Value.Value is OpenApiArray arr && arr.Count == 0))
113113
{
114114
writer.WritePropertyName(kvp.Key);
115115
writer.WriteStartObject();

0 commit comments

Comments
 (0)