Skip to content

Commit

Permalink
Update src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
  • Loading branch information
darrelmiller and baywet authored Dec 28, 2022
1 parent b7800c2 commit ff54122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public void WriteMermaid(StreamWriter writer)
/// <summary>
/// Dictionary that maps a set of HTTP methods to HTML color. Keys are sorted, uppercased, concatenated HTTP methods.
/// </summary>
public static Dictionary<string, MermaidNodeStyle> MermaidNodeStyles = new Dictionary<string, MermaidNodeStyle>
public static Dictionary<string, MermaidNodeStyle> MermaidNodeStyles = new Dictionary<string, MermaidNodeStyle>(StringComparer.OrdinalIgnoreCase)
{
{ "GET", new MermaidNodeStyle("lightSteelBlue", MermaidNodeShape.SquareCornerRectangle) },
{ "POST", new MermaidNodeStyle("Lightcoral", MermaidNodeShape.OddShape) },
Expand Down

0 comments on commit ff54122

Please sign in to comment.