Skip to content

Commit 079da0f

Browse files
committed
Updated public API
1 parent 931270f commit 079da0f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,19 @@ namespace Microsoft.OpenApi.Services
10621062
public string Response { get; set; }
10631063
public string ServerVariable { get; }
10641064
}
1065+
public enum MermaidNodeShape
1066+
{
1067+
SquareCornerRectangle = 0,
1068+
RoundedCornerRectangle = 1,
1069+
Circle = 2,
1070+
Rhombus = 3,
1071+
OddShape = 4,
1072+
}
1073+
public class MermaidNodeStyle
1074+
{
1075+
public string Color { get; }
1076+
public Microsoft.OpenApi.Services.MermaidNodeShape Shape { get; }
1077+
}
10651078
public static class OpenApiFilterService
10661079
{
10671080
public static Microsoft.OpenApi.Models.OpenApiDocument CreateFilteredDocument(Microsoft.OpenApi.Models.OpenApiDocument source, System.Func<string, Microsoft.OpenApi.Models.OperationType?, Microsoft.OpenApi.Models.OpenApiOperation, bool> predicate) { }
@@ -1094,6 +1107,7 @@ namespace Microsoft.OpenApi.Services
10941107
}
10951108
public class OpenApiUrlTreeNode
10961109
{
1110+
public static readonly System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.OpenApi.Services.MermaidNodeStyle> MermaidNodeStyles;
10971111
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.List<string>> AdditionalData { get; set; }
10981112
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Services.OpenApiUrlTreeNode> Children { get; }
10991113
public bool IsParameter { get; }
@@ -1104,6 +1118,7 @@ namespace Microsoft.OpenApi.Services
11041118
public void Attach(Microsoft.OpenApi.Models.OpenApiDocument doc, string label) { }
11051119
public Microsoft.OpenApi.Services.OpenApiUrlTreeNode Attach(string path, Microsoft.OpenApi.Models.OpenApiPathItem pathItem, string label) { }
11061120
public bool HasOperations(string label) { }
1121+
public void WriteMermaid(System.IO.StreamWriter writer) { }
11071122
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create() { }
11081123
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create(Microsoft.OpenApi.Models.OpenApiDocument doc, string label) { }
11091124
}

0 commit comments

Comments
 (0)