Commit Graph

6 Commits

Author SHA1 Message Date
Luis Cantero
2af57cade8 Add AddJsonOptions to KubernetesClientConfiguration and KubernetesJson (#1257)
* Use camelCase policy when serializing enums

* Revert "Use camelCase policy when serializing enums"

This reverts commit 467f49d8734bcbd6aabb87447fbd7d21840c4c48.

* Add jonSerializerOptions to GenericClient

* Add jsonSerializerOptions param

* Revert pass deserialization options in GenericClient

* Add JsonSerializerOptions to KubernetesClientConfiguration

* Use user JsonSerializerOptions in SendRequest and CreateResultAsync

* Improve comment

* Remove JsonSerializerOptions

* Cosmetic

* Add AddJsonOptions

* Fix example

* Fix test

* Add test

* Add summary

* Improve summary

* Remove configure from Kubernetes ctor and tests

* Add AddJsonOptions to config and test

* Support per client json serializer options

* Add ConfigureAwait for tests

* Check for nullargument
2023-04-04 13:35:39 -07:00
Boshi Lian
4e74fd20b7 generate v1.26 (#1122)
* update swagger

* remove unused models in converter

* remove netcore3.1 from testr

* bump ver

* fix convert

* remove some unused autorest property

* move some clz from autorest to client

* fix import

* no longer expose SendRequestRaw

* make file utils inner

* fix build

* c# 11
2022-12-15 18:21:36 -08:00
Manuel Menegazzo
f615b5b459 Fix some compilation warnings (#1010)
* Fixe some summary warning

* Fixed more warning

* Uniformed example projects code

* Uniformed test projects code

* Fix OperatingSystems enum and GenericType summaries
2022-09-15 16:21:21 -07:00
Boshi Lian
85755ccb3e 8.0: API Group + v1.24 (#850)
* swagger 1.24

* trim converter

* api group

* before moving method

* grouped api for client

* fix classic build

* fix e2e

* move all code to v8

* fix vis to

* bump ver

* fix authtest filename
2022-05-07 13:05:17 -07:00
Boshi Lian
01b2aa832c cleanup folders (#792)
* unify folders

* move dep and target outside
2022-03-07 10:06:55 -08:00
Brendan Burns
7d66489cb4 Add a Prometheus handler. (#591)
* Add a Prometheus handler.

* Address comments
2021-04-09 08:53:05 -07:00