diff options
author | Bruno Oliveira <brunolins16@users.noreply.github.com> | 2022-10-25 21:29:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 21:29:17 +0300 |
commit | be9e3090af52f99b286d52ec5f1b9d3413a128d1 (patch) | |
tree | e5f366943393ea895dfec8f670dc137e7d827574 /src | |
parent | 1e8fe7e4ba93935ebc10aee6ef2a4d2b3b0c05d9 (diff) |
Revert "Update SDK (#44601)" (#44730)
This reverts commit 1e8fe7e4ba93935ebc10aee6ef2a4d2b3b0c05d9.
Diffstat (limited to 'src')
-rw-r--r-- | src/Features/JsonPatch/src/Operations/Operation.cs | 2 | ||||
-rw-r--r-- | src/Features/JsonPatch/src/Operations/OperationBase.cs | 6 | ||||
-rw-r--r-- | src/Servers/Kestrel/Core/src/KestrelServerOptions.cs | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/Features/JsonPatch/src/Operations/Operation.cs b/src/Features/JsonPatch/src/Operations/Operation.cs index 9ce29c3a5c..67d93a0963 100644 --- a/src/Features/JsonPatch/src/Operations/Operation.cs +++ b/src/Features/JsonPatch/src/Operations/Operation.cs @@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.JsonPatch.Operations; public class Operation : OperationBase { - [JsonProperty(nameof(value))] + [JsonProperty("value")] public object value { get; set; } public Operation() diff --git a/src/Features/JsonPatch/src/Operations/OperationBase.cs b/src/Features/JsonPatch/src/Operations/OperationBase.cs index 7ae24f6c7f..9bc59cb4d4 100644 --- a/src/Features/JsonPatch/src/Operations/OperationBase.cs +++ b/src/Features/JsonPatch/src/Operations/OperationBase.cs @@ -20,10 +20,10 @@ public class OperationBase } } - [JsonProperty(nameof(path))] + [JsonProperty("path")] public string path { get; set; } - [JsonProperty(nameof(op))] + [JsonProperty("op")] public string op { get @@ -42,7 +42,7 @@ public class OperationBase } } - [JsonProperty(nameof(from))] + [JsonProperty("from")] public string from { get; set; } public OperationBase() diff --git a/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs b/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs index fc6322dd41..f31880e891 100644 --- a/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs +++ b/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs @@ -252,6 +252,9 @@ public class KestrelServerOptions writer.WritePropertyName(nameof(AllowResponseHeaderCompression)); writer.WriteBooleanValue(AllowResponseHeaderCompression); + writer.WritePropertyName(nameof(EnableAltSvc)); + writer.WriteBooleanValue(EnableAltSvc); + writer.WritePropertyName(nameof(IsDevCertLoaded)); writer.WriteBooleanValue(IsDevCertLoaded); |