File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
src/Microsoft.OpenApi/Services
test/Microsoft.OpenApi.Tests/PublicApi Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1279,32 +1279,32 @@ public class CurrentKeys
12791279 /// <summary>
12801280 /// Current Path key
12811281 /// </summary>
1282- public string ? Path { get ; set ; }
1282+ public string ? Path { get ; internal set ; }
12831283
12841284 /// <summary>
12851285 /// Current Operation Type
12861286 /// </summary>
1287- public HttpMethod ? Operation { get ; set ; }
1287+ public HttpMethod ? Operation { get ; internal set ; }
12881288
12891289 /// <summary>
12901290 /// Current Response Status Code
12911291 /// </summary>
1292- public string ? Response { get ; set ; }
1292+ public string ? Response { get ; internal set ; }
12931293
12941294 /// <summary>
12951295 /// Current Content Media Type
12961296 /// </summary>
1297- public string ? Content { get ; set ; }
1297+ public string ? Content { get ; internal set ; }
12981298
12991299 /// <summary>
13001300 /// Current Callback Key
13011301 /// </summary>
1302- public string ? Callback { get ; set ; }
1302+ public string ? Callback { get ; internal set ; }
13031303
13041304 /// <summary>
13051305 /// Current Link Key
13061306 /// </summary>
1307- public string ? Link { get ; set ; }
1307+ public string ? Link { get ; internal set ; }
13081308
13091309 /// <summary>
13101310 /// Current Header Key
Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ namespace Microsoft.OpenApi
6060 public class CurrentKeys
6161 {
6262 public CurrentKeys() { }
63- public string? Callback { get; set; }
64- public string? Content { get; set; }
63+ public string? Callback { get; }
64+ public string? Content { get; }
6565 public string? Encoding { get; }
6666 public string? Example { get; }
6767 public string? Extension { get; }
6868 public string? Header { get; }
69- public string? Link { get; set; }
70- public System.Net.Http.HttpMethod? Operation { get; set; }
71- public string? Path { get; set; }
72- public string? Response { get; set; }
69+ public string? Link { get; }
70+ public System.Net.Http.HttpMethod? Operation { get; }
71+ public string? Path { get; }
72+ public string? Response { get; }
7373 public string? ServerVariable { get; }
7474 }
7575 [System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
You can’t perform that action at this time.
0 commit comments