API v1.23.0 + system.text.json + remove WatchXXX API (#750)
* gen v1.23.0 * fix converter * bump ver * update readme runtime * fix warning * update dep ver * newtonjson -> system.text.json * generate for new json api * readme lf * dotnet fmt * dotnet fmt tests/ * dotnet fmt * Revert "dotnet fmt" This reverts commit e14c59076143fe2218ed899295a00762f0ea2bd6. * fix err introduce by dotnet fmt * fix test * remove deprecated /watch api * generate code after /watch removed * remove /watch related code * trim Microsoft.Rest.Serialization
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace k8s
|
||||
{
|
||||
/// <summary>
|
||||
@@ -20,7 +18,7 @@ namespace k8s
|
||||
/// values. More info:
|
||||
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
|
||||
/// </summary>
|
||||
[JsonProperty(PropertyName = "apiVersion")]
|
||||
[JsonPropertyName("apiVersion")]
|
||||
public string ApiVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -30,7 +28,7 @@ namespace k8s
|
||||
/// More info:
|
||||
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
|
||||
/// </summary>
|
||||
[JsonProperty(PropertyName = "kind")]
|
||||
[JsonPropertyName("kind")]
|
||||
public string Kind { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user