Skip to content

Commit

Permalink
Update src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Omondi <andrueastman@users.noreply.github.com>
  • Loading branch information
MaggieKimani1 and andrueastman authored Aug 5, 2024
1 parent 1c19986 commit 27258e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
// Media type does not exist in V2.
}

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

0 comments on commit 27258e9

Please sign in to comment.