Skip to content

Commit 5d87820

Browse files
darrelmillerbaywet
andcommitted
Update src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs
Co-authored-by: Vincent Biret <[email protected]>
1 parent efeeca7 commit 5d87820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public void WriteMermaid(StreamWriter writer)
255255
/// <summary>
256256
/// Dictionary that maps a set of HTTP methods to HTML color. Keys are sorted, uppercased, concatenated HTTP methods.
257257
/// </summary>
258-
public static Dictionary<string, MermaidNodeStyle> MermaidNodeStyles = new Dictionary<string, MermaidNodeStyle>
258+
public static Dictionary<string, MermaidNodeStyle> MermaidNodeStyles = new Dictionary<string, MermaidNodeStyle>(StringComparer.OrdinalIgnoreCase)
259259
{
260260
{ "GET", new MermaidNodeStyle("lightSteelBlue", MermaidNodeShape.SquareCornerRectangle) },
261261
{ "POST", new MermaidNodeStyle("Lightcoral", MermaidNodeShape.OddShape) },

0 commit comments

Comments
 (0)