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:
Boshi Lian
2021-12-13 07:31:59 -08:00
committed by GitHub
parent 6c539873b5
commit eca9898902
699 changed files with 65366 additions and 128699 deletions

View File

@@ -1,6 +1,3 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Security;
@@ -10,7 +7,6 @@ using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using k8s.Exceptions;
using k8s.Models;
using Microsoft.Rest;
namespace k8s
@@ -139,8 +135,6 @@ namespace k8s
private void CustomInitialize()
{
DeserializationSettings.Converters.Add(new V1Status.V1StatusObjectViewConverter());
SerializationSettings.DateFormatString = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.ffffffK";
}
/// <summary>A <see cref="DelegatingHandler"/> that simply forwards a request with no further processing.</summary>