Skip to content

Commit b462fc5

Browse files
committed
Merge branch 'pr/irvinesunday/547' into vnext
2 parents 21d0688 + c8cfe59 commit b462fc5

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,19 @@ namespace Microsoft.OpenApi.Services
958958
public OpenApiReferenceError(Microsoft.OpenApi.Exceptions.OpenApiException exception) { }
959959
public OpenApiReferenceError(Microsoft.OpenApi.Models.OpenApiReference reference, string message) { }
960960
}
961+
public class OpenApiUrlTreeNode
962+
{
963+
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Services.OpenApiUrlTreeNode> Children { get; }
964+
public bool IsParameter { get; }
965+
public string Label { get; }
966+
public string Path { get; }
967+
public Microsoft.OpenApi.Models.OpenApiPathItem PathItem { get; }
968+
public string Segment { get; }
969+
public void Attach(Microsoft.OpenApi.Models.OpenApiDocument doc, string label) { }
970+
public Microsoft.OpenApi.Services.OpenApiUrlTreeNode Attach(string path, Microsoft.OpenApi.Models.OpenApiPathItem pathItem, string label) { }
971+
public bool HasOperations() { }
972+
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create(Microsoft.OpenApi.Models.OpenApiDocument doc = null, string label = "") { }
973+
}
961974
public abstract class OpenApiVisitorBase
962975
{
963976
protected OpenApiVisitorBase() { }

test/Microsoft.OpenApi.Tests/Services/OpenApiUrlTreeNodeTests.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

4+
using System.Collections.Generic;
5+
using Microsoft.OpenApi.Models;
6+
using Microsoft.OpenApi.Services;
7+
using Xunit;
8+
49
namespace Microsoft.OpenApi.Tests.Services
510
{
611
public class OpenApiUrlTreeNodeTests

0 commit comments

Comments
 (0)