16 Commits

Author SHA1 Message Date
tyama711
c0ba2d2094 Fixed error when PACKAGE_NAME is not 'client'. (#242) 2023-05-10 19:15:10 -07:00
Nabarun Pal
596385c0dd Upgrade OpenAPI Generator version for python client generator (#153)
Use v4.3.0 by default now using the OPENAPI_GENERATOR_COMMIT
variable. This can be overriden by specifying the same variable
in the SETTINGS_FILE

Also, set the `skipValidateSpec` parameter in `openapi/python.xml`
to work around
[this](https://github.com/kubernetes-client/gen/issues/145) bug.
2020-04-27 19:58:06 -07:00
Nabarun Pal
ba20a080c8 Updates the python generator (#134) 2019-11-07 11:13:43 -08:00
Tomasz Prus
475ad6f8e3 feat: switch python client to use openapi-generator (#97) 2019-09-13 16:04:01 -07:00
Haowei Cai (Roy)
085307649b avoid backup api_client when patch (#102) 2019-02-08 14:54:50 -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
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
086a069d2c fix: add PACKAGE_NAME to client output path for gen/openapi/python.sh (#83) (#87) 2018-11-03 20:34:07 -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
Tamal Saha
cbea33eac4 Allow using forked swagger-api repository (#62)
To generate client for CRDs, I needed to use a forked version of swagger-api.
ref: https://github.com/kubernetes-client/gen/issues/59#issuecomment-381395227
2018-06-29 13:23:03 -07:00
Tamal Saha
7d7ec1cfee Allow specifying a github repository if working on ecosystem projects (#63) 2018-06-25 07:30:35 -07:00
Alessandro Ogier
da2c88defb allow specifying a github username if working on forks (#58) 2018-05-02 22:10:15 -07:00
mbohlool
e8a3524053 change python client generator to use latest swagger-codgen code 2017-10-09 17:51:56 -07:00
mbohlool
86b9f9d9ee Lock down python generator on v2.2.2 until we test newer versions 2017-08-15 11:42:26 -07:00
mbohlool
4e828271d2 Add python generator 2017-07-05 14:43:58 -07:00