Skip to content

Commit 27258e9

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

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
@@ -96,7 +96,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
9696
// Media type does not exist in V2.
9797
}
9898

99-
private void SerializeExamples(IOpenApiWriter writer, IDictionary<string, OpenApiExample> examples)
99+
private static void SerializeExamples(IOpenApiWriter writer, IDictionary<string, OpenApiExample> examples)
100100
{
101101
/* Special case for writing out empty arrays as valid response examples
102102
* Check if there is any example with an empty array as its value and set the flag `hasEmptyArray` to true

0 commit comments

Comments
 (0)