Skip to content

Commit 6f3e634

Browse files
authored
Merge pull request #1206 from microsoft/feature/path-treenode
- makes Path of OpenApiUrlTreeNode Writeable
2 parents 97e1a24 + fde82b8 commit 6f3e634

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Microsoft.OpenApi.Readers/Microsoft.OpenApi.Readers.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Company>Microsoft</Company>
1111
<Title>Microsoft.OpenApi.Readers</Title>
1212
<PackageId>Microsoft.OpenApi.Readers</PackageId>
13-
<Version>1.6.4-preview1</Version>
13+
<Version>1.6.4-preview2</Version>
1414
<Description>OpenAPI.NET Readers for JSON and YAML documents</Description>
1515
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
1616
<PackageTags>OpenAPI .NET</PackageTags>

src/Microsoft.OpenApi/Microsoft.OpenApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Company>Microsoft</Company>
1212
<Title>Microsoft.OpenApi</Title>
1313
<PackageId>Microsoft.OpenApi</PackageId>
14-
<Version>1.6.4-preview1</Version>
14+
<Version>1.6.4-preview2</Version>
1515
<Description>.NET models with JSON and YAML writers for OpenAPI specification</Description>
1616
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
1717
<PackageTags>OpenAPI .NET</PackageTags>

src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class OpenApiUrlTreeNode
2626
/// <summary>
2727
/// The relative directory path of the current node from the root node.
2828
/// </summary>
29-
public string Path { get; private set; } = "";
29+
public string Path { get; set; } = "";
3030

3131
/// <summary>
3232
/// Dictionary of labels and Path Item objects that describe the operations available on a node.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ namespace Microsoft.OpenApi.Services
11111111
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.List<string>> AdditionalData { get; set; }
11121112
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Services.OpenApiUrlTreeNode> Children { get; }
11131113
public bool IsParameter { get; }
1114-
public string Path { get; }
1114+
public string Path { get; set; }
11151115
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiPathItem> PathItems { get; }
11161116
public string Segment { get; }
11171117
public void AddAdditionalData(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> additionalData) { }

0 commit comments

Comments
 (0)