Commit Graph

237 Commits

Author SHA1 Message Date
Min Kim
648e8de639 enables base interface generation by default (#167) 2020-07-24 22:02:16 -07:00
Min Kim
d71ff1efd1 fixes crd model generation aborting on missing listmeta (#166) 2020-06-29 23:13:58 -07:00
Min Kim
d5a4e0d8ff bump code-gen and applies x-implements extension (#164) 2020-06-19 15:58:43 -07:00
Min Kim
f46fc82419 fixes CRD preprocess aborting (#163) 2020-06-19 15:56:39 -07:00
Min Kim
a02b4fd518 adding script java crd (#162) 2020-06-17 15:02:05 -07:00
Allan Espinosa
deac82ed3c ad-hoc client generation for CRDs (#161)
* Insert CRD-mode into preprocessing

* Wire CRD-mode variables to shell scripts

* java: Move CRD-specific properties to a profile
2020-06-13 16:35:55 -07:00
Daniel Sutton
7cef4c5fa6 Add typescript-jquery generator (#160) 2020-05-19 10:59:37 -07:00
Min Kim
16be7553cc remove watch/allowWatchBookmarks from deleteCollection openapi parameters (#158) 2020-05-18 15:23:36 -07:00
Min Kim
87302dc1fb fixes delete operator conflict (#157) 2020-05-13 22:30:22 -07:00
Min Kim
9563227a5e adding dry-run & fieldmanagers to custom specs (#154)
dry run

fixes deleteCollection operation name and baseimage
2020-05-04 16:07:09 -07:00
Nabarun Pal
a9d5090070 Correct operationId on DELETE collection operations for custom objects (#155)
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-05-02 21:42:25 -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
Scott Lee
1c0911fe4c Add deletecollection operations (#150) 2020-03-23 19:26:47 -07:00
Boshi Lian
74ee0c6094 lock autorest version (#149) 2020-03-23 19:24:47 -07:00
Hui Yu
e056721a80 Add c generator (#148) 2020-03-10 15:23:36 -07:00
Kubernetes Prow Robot
6c9d7ae20e Disable selinux checks for the client-generating container (#147)
* Disable selinux checks for the client-generating container

* Update client-generator.sh
2020-03-05 15:50:49 -08:00
Tomasz Prus
9f439b68da feat: switch python-asyncio to use openapi-generator v4.2.3 (#146) 2020-02-11 12:34:10 -08:00
Tomasz Prus
b30bbc34e8 feat: update version in downloaded swagger.json spec (#144) 2020-02-09 13:19:52 -08:00
Min Kim
09f7470cab make delete body optional (#142) 2019-12-17 21:39:57 -08:00
Boshi Lian
a841e57209 update to node10 (#141) 2019-12-17 21:37:57 -08:00
Min Kim
c81822b959 [java] enforce custom mapping for patch object (#140) 2019-12-10 15:48:05 -08:00
Min Kim
cd76ca9480 disable reflective deep equal (#139) 2019-11-26 21:27:20 -08:00
Brendan Burns
3dc8379dc7 Remove swagger-codegen from the repo. (#138)
* Switch csharp to openapi scripts. (it doesn't use the generator anyway)

* Remove swagger-codegen scripts.
2019-11-26 21:25:21 -08:00
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