@@ -1062,6 +1062,19 @@ namespace Microsoft.OpenApi.Services
1062
1062
public string Response { get; set; }
1063
1063
public string ServerVariable { get; }
1064
1064
}
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
+ }
1065
1078
public static class OpenApiFilterService
1066
1079
{
1067
1080
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
1094
1107
}
1095
1108
public class OpenApiUrlTreeNode
1096
1109
{
1110
+ public static readonly System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.OpenApi.Services.MermaidNodeStyle> MermaidNodeStyles;
1097
1111
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.List<string>> AdditionalData { get; set; }
1098
1112
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Services.OpenApiUrlTreeNode> Children { get; }
1099
1113
public bool IsParameter { get; }
@@ -1104,6 +1118,7 @@ namespace Microsoft.OpenApi.Services
1104
1118
public void Attach(Microsoft.OpenApi.Models.OpenApiDocument doc, string label) { }
1105
1119
public Microsoft.OpenApi.Services.OpenApiUrlTreeNode Attach(string path, Microsoft.OpenApi.Models.OpenApiPathItem pathItem, string label) { }
1106
1120
public bool HasOperations(string label) { }
1121
+ public void WriteMermaid(System.IO.StreamWriter writer) { }
1107
1122
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create() { }
1108
1123
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create(Microsoft.OpenApi.Models.OpenApiDocument doc, string label) { }
1109
1124
}
0 commit comments