264 Commits

Author SHA1 Message Date
Brendan Burns
e0472014de Remove Javascript. They're not used. (#137) 2019-11-20 18:57:28 -08:00
Tomasz Prus
1203c13a32 feat: switch all variants of the generated library to use openapi-generator (#136) 2019-11-19 10:59:20 -08:00
Min Kim
270d42bbe8 migrate java clients from swagger-codegen to openapi-generator (#117)
add reflection-equality config option

java: update openapi generator to 4.1.2

patch openapi-generator, format Quantity

Bring in a patched openapi-generator temporarily until
openapi-generator#4182 gets merged, and add a format to
resource.Quantity so it can have a custom typeMapping installed.

Also bring configuration of type and import mappings to the correct
(newer) format for the maven plugin.

remove the overrides

refactor

openapi-gen

generator 4.1.3

4.2.0
2019-11-16 08:43:40 -08:00
Nabarun Pal
ba20a080c8 Updates the python generator (#134) 2019-11-07 11:13:43 -08:00
Scott Lee
f14e0bb9de Add continue and limit to custom objects spec (#130)
* Add continue and limit to custom objects spec

* Move parameters to listNamespacedCustomObject
2019-10-08 18:01:51 -07:00
Jon Schoning
8b15007940 [haskell] update openapi-generator commit to 4.1.3 (#129) 2019-10-06 21:13:09 -07:00
Fernando Rincon Martin
a4d67bd881 Replace datetime function in haskell client (#127) 2019-09-30 15:59:32 -07:00
Tomasz Prus
475ad6f8e3 feat: switch python client to use openapi-generator (#97) 2019-09-13 16:04:01 -07:00
Niklas Büchner
795993978f Preserve original model property naming (#126) 2019-07-23 16:40:15 -07:00
Silas Boyd-Wickizer
c0b547d386 Switch typescript client to use openapi-generator (#125) 2019-07-23 16:36:15 -07:00
Min Kim
5b363c94af Revert "preserve field manager types (#123)" (#124)
This reverts commit f659d364ad.
2019-07-18 21:01:11 -07:00
Min Kim
8279e3f404 skip fetching swagger from upstream using OPENAPI_SKIP_FETCH_SPEC env (#122) 2019-07-18 20:59:11 -07:00
Min Kim
f659d364ad preserve field manager types (#123) 2019-07-03 20:36:12 -07:00
Boshi Lian
a5fb2989b1 update node version for autorest (#120)
* update node for autorest

* revert to node 10
2019-07-01 21:05:08 -07:00
Tomasz Prus
f038de1ed2 feat: custom objects can be merged by json-patch (#119) 2019-07-01 21:03:09 -07:00
Min Kim
3bee7a06d0 java: preserve structurelized patch obj (#118) 2019-06-12 19:56:12 -07:00
Min Kim
c6c8672fda pip install urllib3==1.24.2 (#115) 2019-05-23 07:42:27 -07:00
Brendan Burns
3e160e6416 Switch golang to openapi-generator. (#110) 2019-03-28 12:29:57 -07:00
Min Kim
2bad344c0b add perl client generator (#113) 2019-03-28 11:59:57 -07:00
Jon Schoning
87675b7e97 add remove_models (specific to client languages) in process_swagger (#112)
This is needed because openapi-generator does not allow us to override
a model definition such as IntOrString, if it exists in the json.

Once the model is removed, it can be re-mapped with a type-mapping

This change should not affect any client language, other than haskell.
2019-03-28 11:57:56 -07:00
Shimin Guo
c05fbc861b add license-file; update openapi generator version; change package name (#109) 2019-03-15 22:00:58 -07:00
Akihito Nakano
17c4c90c31 Switch ruby client to use openapi-generator (#103) 2019-03-15 21:58:56 -07:00
Akihito Nakano
c07ee54dcb Fix parameter name (#107) 2019-03-05 16:54:00 -08:00
Tomasz Prus
b955fb5bac feat: add fieldSelector to list/watch methods in custom objects spec (#106) 2019-03-05 16:52:01 -08:00
Jon Schoning
a72c88a34a haskell client: switch to openapi-generator (#108) 2019-03-05 16:50:00 -08:00
Shimin Guo
f673b0423f package name change (#105) 2019-02-26 16:26:40 -08:00
Akihito Nakano
8fe6f9ce34 [Ruby] Exclude test codes from code generation (#104)
* Exclude test files from code generation

ref https://github.com/kubernetes-client/ruby/issues/29

* Exclude spec folder from cleanup

in order to avoid unintensional deletion of hand-written test codes.
ref https://github.com/kubernetes-client/ruby/issues/29
2019-02-25 11:50:15 -08:00
Haowei Cai (Roy)
085307649b avoid backup api_client when patch (#102) 2019-02-08 14:54:50 -08:00
Shimin Guo
382eb04329 Set type names (#98) 2019-02-08 14:52:31 -08:00
cliveseldon
95d8a2bda6 Add missing autoscaling api and fic admissionregistration version (#100) 2019-02-03 20:45:04 -08:00
Tomasz Prus
f3bcfa5da0 feat: add x-codegen-request-body-name in preprocessing step (#96) 2019-01-22 20:37:26 -08:00
Tomasz Prus
d0821e65aa feat: introduce openapi-generator (#95)
* move files related to swagger-codegen to dedicated directory

* add script to build clients by openapi-generator

* python-asyncio is build by openapi-generator
2019-01-14 22:52:13 -08:00
Tom Petr
e41b173d3e Add timeoutSeconds to CustomObjectsApi list/watch calls (#94)
* add timeoutSeconds to list/watch calls

* forgot a comma
2019-01-14 22:50:30 -08:00
Shimin Guo
6f6d3e0b4f haskell client: change package name and base module (#90) 2018-12-20 16:52:12 -08:00
Tomasz Prus
9d14077ba1 feat: avoid creating unused ThreadPools (#91)
* feat: avoid creating unused ThreadPools

* docs: add requested TODOs
2018-12-16 20:01:12 -08:00
Marie Yau
9cf654298a Improve kubernetes-client/gen documentation for {CLIENT_LANGUAGE}.sh … (#86)
* Improve kubernetes-client/gen documentation for {CLIENT_LANGUAGE}.sh (#85)

* Update README.md

* Update README.md
2018-11-09 12:25:36 -08:00
Tomasz Prus
f1c262699f fix: syntax of python-asyncio-rest.py.patch (#88) 2018-11-03 20:35:32 -07:00
Marie Yau
086a069d2c fix: add PACKAGE_NAME to client output path for gen/openapi/python.sh (#83) (#87) 2018-11-03 20:34:07 -07:00
Tomasz Prus
087e4b4d9b fix: python/asyncio no-ssl-verify for server certs only (#81) 2018-10-15 21:05:17 -07:00
Boshi Lian
4aa859fc51 change autorest to release (#80) 2018-09-27 15:49:41 -07:00
Tomasz Prus
fa93944256 fix: python/aiohttp with verify_ssl=False (#79) 2018-09-05 21:47:25 -07:00
Oliver Nagy
64959e2d6d Added generic Python asyncio generator script. (#68)
* Added generic Python asyncio generator script.

* Merged 'python-asyncio.sh' and 'python-async-generic.sh'

* Refactored 'python-asyncio.sh' to remove duplicate code.

* Changed 'kubernetes_client' to 'client'.

* Code patches are now client specific.
2018-09-05 09:33:48 -07:00
Aaron Crickenberger
6b772061c7 Add OWNERS file (#78)
* Add OWNERS file

Populated based upon sig-api-machinery chairs and users who have
previously merged code in this repo

* Address review comments
2018-08-21 11:16:26 -07:00
Nikhita Raghunath
d7475ff1e4 Add CONTRIBUTING.md (#77) 2018-08-20 20:53:13 -07:00
Brendan Burns
d8e6b8cf6b Update gen to fix csharp generation. (#75) 2018-08-13 08:21:39 -07:00
Brendan Burns
817fffce8e Fix proto generation. (#74) 2018-08-03 13:36:48 -07:00
Julian Taylor
5e94dfeb1c fix two responses which were in the wrong level (#73) 2018-08-02 11:55:33 -07:00
Julian Taylor
d2b5052937 Add custom object status and scale api (#72)
* improve error message on failed spec download

* add scale and status api of custom objects

Closes gh-71
2018-08-01 15:48:21 -07:00
Haowei Cai (Roy)
9379695346 Restore execute access mode for scripts (#70) 2018-07-11 11:46:45 -07:00
Tomasz Prus
5c23a9766a feat: support for 3.7 (added workaround) (#67) 2018-07-11 11:45:28 -07:00