Commit Graph

233 Commits

Author SHA1 Message Date
Jun Mukai
ea5af85f5b Fix the handling of IntOrString. (#233)
IntOrString has been considered to be 'object' in typescript-fetch,
but it should be specially handled. This allows a similar handling
done in typescript.xml.
2022-12-05 08:59:05 -08:00
Grigoris Thanasoulas
0ffb80637b Show progress of repo cloning (#230)
Show progress of 'git clone' command so that it is apparent the command
is running and the program is not stuck. This is especially helpful if
the user is running on a slow internet connection.

Signed-off-by: Grigoris Thanasoulas <gregth@arrikto.com>

Signed-off-by: Grigoris Thanasoulas <gregth@arrikto.com>
2022-10-20 11:22:59 -07:00
Jacob Henner
be467ffebd Add get_api_resources to the custom objects API (#232)
The custom objects API spec did not expose `GET /apis/{group}/{version}`
whereas most of the built-in APIs do (as get_api_resources()). This
change adds the getCustomObjectsAPIResources operation to the custom
objects API spec, which will expose `GET /apis/{group}/{version}` for
arbitrary custom resources (as `get_api_resources(group, version)` in
generated clients).
2022-10-20 11:21:00 -07:00
Sayak Mukhopadhyay
2c67c6df18 Fix client generator container not deleting after stopping (#227) 2022-08-24 07:54:06 -07:00
Fredrich Ombico
c866e40a2b Fix issue with apimachinery v2 models [#220] (#225) 2022-07-01 07:19:24 -07:00
uesyn
c557f7ffbc Typescript generator handles MicroTime as custom object in stead of Date object (#224) 2022-06-28 14:59:34 -07:00
Grigoris Thanasoulas
1b21c3cdb4 Don't ignore resources in "io.k8s" group if the user has explicitly requested to generate models for these (#223)
This is needed in case the user needs to generate clients and models for
resources that are not built-in but, yet, their group prefix starts with
'io.k8s', such as the Volume Snapshot CRDs, which belong to group
'snapshot.storage.k8s.io'.

Signed-off-by: Grigoris Thanasoulas <gregth@arrikto.com>
2022-03-30 15:19:57 -07:00
Tomasz Prus
6f03521994 [feat/python-asyncio] switch openapi generator to 5.4.0 (#222) 2022-03-17 13:54:42 -07:00
Boshi Lian
34ea9c4d4e fit for new c# source generator (#221) 2022-02-24 14:18:14 -08:00
Oliver King
aae6c8478b switch generator name (#219) 2022-02-03 09:15:46 -08:00
Oliver King
f0bb44756d Revert "Add handling of IntOrString for other typescript variations. (#214)" (#218)
This reverts commit 0c250bbb75.
2022-01-07 15:35:33 -08:00
Hui Yu
8b5821a498 Support IntOrString for c client (#216) 2021-12-19 09:01:26 -08:00
Oliver King
f6aa01426d add typescript three plus (#215) 2021-12-14 14:44:50 -08:00
Jun Mukai
0c250bbb75 Add handling of IntOrString for other typescript variations. (#214) 2021-12-13 07:27:59 -08:00
alex bezek
82c3ff5294 Update typescript open API generator to handle the IntOrString type (#213)
* Update typescript open API generator to handle the IntOrString type

* remove trailing comma
2021-11-19 09:10:52 -08:00
Brendan Burns
291f9a6ca5 Update proto generation. (#211) 2021-11-05 13:46:41 -07:00
Brendan Burns
2db702d0fe Convert a number of XML files to generatorName (#210) 2021-11-05 12:38:41 -07:00
Yu Liao
ca817f53d4 org.apache.maven.plugin.MojoExecutionException: Illegal configuration: (#209)
'language' and  'generatorName' can not be set both, remove 'language'
from your configuration
2021-10-26 14:21:10 -07:00
itaru2622
07b7f03a4a add openapi-generator v5.x support to python client (#208) 2021-10-26 10:31:30 -07:00
Boshi Lian
eb9ab62f52 remove csharp versioning todo (#206) 2021-10-25 14:26:25 -07:00
Jun Mukai
a3aef4de7a Update the base image version to 3.8.2. (#205)
As reported there, seemingly this image has the CA file which is
probably old enough so that fetching resources for nodejs
installation fails due to certificate verification.

This primarily update the version to 3.8.2, the latest one.
Some installed package names have change since then; most notably
it's switched to python3. Fortunately the current code seems
working just fine but the command names need to be renamed.
2021-09-30 15:09:15 -07:00
Jon Schoning
729332ad08 [haskell-http-client] supply codegen param to configure that '+' should not be URI encoded in querystring params (#202) 2021-09-20 09:04:10 -07:00
Boshi Lian
59b81c6360 link new csharp generator (#201) 2021-09-20 09:02:15 -07:00
Karuna Sagar Krishna
6694faf24c Append value to x-implements in preprocess_spec.py to allow for customization (#200) 2021-09-14 09:37:08 -07:00
Jun Mukai
c311d74e3d Add typescript-fetch. (#199) 2021-08-07 08:15:29 -07:00
Tanmoy Bhowmick
636729c92e fixing scripts that used to point to https://github.com/google/protobuf/releases to the new location https://github.com/protocolbuffers/protobuf/releases (#197) 2021-07-28 14:44:46 -07:00
Albert
fcf2c94a6b support rust generate_client (#192) 2021-06-17 09:04:19 -07:00
Albert
13ed3b4657 Optimize docker compilation time (#193) 2021-06-13 14:49:03 -07:00
Albert
9172958682 support macos (#191) 2021-06-08 09:33:33 -07:00
Mateusz
c1459afd0f script for generating python CRD models and apis (#190) 2021-05-06 17:03:02 -07:00
Yu Liao
65a1e4739c switched openapi generator to latest v5.1.0 (#189) 2021-04-26 10:33:16 -07:00
Yu Liao
dd2872708f added yliaog as reviewers / approvers (#188) 2021-04-13 09:31:10 -07:00
Haowei Cai (Roy)
7e78f11710 default LIBRARY to okhttp-gson (#187) 2021-04-13 09:29:11 -07:00
Min Kim
ccaea56988 adding yue to gen approver (#186) 2021-03-09 15:41:04 -08:00
Bob Killen
0271d75d77 Remove inactive members from OWNERS (#185)
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit moves mbohlool from
an approver to emeritus_approver.
2021-03-02 12:35:20 -08:00
Abel Salgado Romero
90a6e18d3f Add hideGenerationTimestamp & library options for Java (#183) 2021-02-26 08:40:17 -08:00
Frederik Carlier
5c6d90b260 Custom objects spec: Add allowWatchBookmarks, resoureVersionMatch parameters (#180) 2021-02-17 08:27:14 -08:00
Dave Syer
7ba97cc4c7 Switch to JDK date time library (#177)
Signed-off-by: Dave Syer <dsyer@vmware.com>
2021-01-05 10:53:59 -08:00
Abel Salgado Romero
f04504fc2e Add io.k8s.api.autoscaling.v1.Scale to Java gen (#178)
v1.Scale is a required type by clients supporting
k8s /scale resource.
2020-12-07 18:03:11 -08:00
Yuxin Bai
c3523deb7e Add -g parameter to java_crd_cmd.sh to enable generating CRD APIs (#175) (#176) 2020-12-03 09:49:01 -08:00
Boshi Lian
e219564d93 support custom header content type (#174) 2020-11-18 08:32:03 -08:00
Boshi Lian
b2c43b35a0 force json for * (#173) 2020-11-01 12:08:52 -08:00
Boshi Lian
1ae5a04c0b fix csharp generator missing model (#172)
* fix csharp missing object

* add stream
2020-10-28 09:47:57 -07:00
Brendan Burns
08bb6d5403 Update csharp generator. (#170)
Co-authored-by: Brendan Burns <brendan.d.burns@gmail.com>
2020-10-08 19:43:06 -07:00
Min Kim
65a432d0cd use processed v1status definition name (#169) 2020-07-29 11:14:03 -07:00
Min Kim
48d96a3a3c clarify default http client (#168) 2020-07-26 22:20:17 -07:00
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