Commit Graph

12 Commits

Author SHA1 Message Date
Jon Schoning
c04d857e88 re-gen kubernetes with updated generator commit 2022-05-29 14:09:38 -07:00
Jon Schoning
541fb76466 fix Incorrectly generated query strings (that rely on + not being urlencoded)
In the Kubernetes API client, we should be able to generate queries like
    ?labelSelector=environment+in+%28production%2Cqa%29%2Ctier+in+%28frontend%29
    (from https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#list-and-watch-filtering).
    When the generated URIs URL-encode the plus signs, the API server rejects them.

    With this change, (newConfig :: IO KubernetesClientConfig) now sets
    the default configQueryExtraUnreserved setting to "+". Requests
    generated with this config object will avoid URI encoding "+" all
    querystring params.
2021-09-20 12:23:34 -05:00
Jon Schoning
7522b3fe86 udpate openapi-generator commit; fixes for ghc-9 2021-09-14 18:40:45 -05:00
Jon Schoning
93235ad70c regen for kubernetes release-1.20 2021-02-14 19:30:50 -06:00
Jon Schoning
8d64efcb7a re-include mimetypes for json patch 2021-01-06 15:34:06 -06:00
Jon Schoning
bdc7da25fc append optional parameters instead of replace 2020-10-27 18:42:18 -05:00
Jon Schoning
6ee7316b3f regen 2020-08-23 22:59:07 -05:00
Jon Schoning
fbb260a796 update to Kubernetes 1.16 2019-10-07 10:36:38 -05:00
Irvi Aini
544b5267f2 Bump version to 1.14 2019-05-15 17:23:25 +07:00
Jon Schoning
7a0b709549 Add custom types IntOrString and Quantity
- regen with import-mappings
- add CustomTypes and CustomInstances
- update openapi-generator commit

Instead of A.Value, IntOrString becomes a sum type with constructors IntOrStringI and IntOrStringS
Instead of Text, Quantity becomes a newtype over Text. Currently no custom construction or serialization is implemeneted (i.e. the Text should be the wire format)
  See CustomTypes.hs for details on the Quantity type.
2019-03-28 14:39:40 -05:00
Shimin Guo
ec97160bc8 Generate from v1.13.4 2019-03-13 07:46:12 -07:00
Shimin Guo
6d0ee58ade rerun codegen 2019-03-11 22:45:15 -07:00