Commit Graph

195 Commits

Author SHA1 Message Date
Brendan Burns
0ef2cecd6f Update preprocess_spec.py (#250) 2023-09-18 13:07:31 -07:00
Dasarathi Rout
0c7b833344 Issues-246 - Added attributes for generated pom.xml (#249) 2023-08-18 09:04:29 -07:00
Boshi Lian
543edee201 fix well know in client side (#248) 2023-08-16 20:20:21 -07:00
Dasarathi Rout
e2334cc3a4 Issue 246 Update java.sh (#247)
Issue 246, update of open-api-tool v6.6.0 which 
configOptions <useJakartaEe>true</useJakartaEe> and generate code with jakarta.annotation.*.
2023-08-15 09:11:20 -07:00
Dr. Stefan Schimanski
9701a7c9ae openapi/preprocess_spec.py: expand globally shared parameters (#245) 2023-07-24 09:58:15 -07:00
Hui Yu
d2dd5e9f6f Upgrade base image (#244) 2023-06-03 11:24:41 -07:00
Pavan Kumar
f6b4147e44 migrate the javax.annotation.* to jakarta.annotation.* (#241)
Added <useJakartaEe>true</useJakartaEe> in java.xml
2023-05-16 06:43:37 -07:00
tyama711
c0ba2d2094 Fixed error when PACKAGE_NAME is not 'client'. (#242) 2023-05-10 19:15:10 -07:00
Michael Valdron
fa20646e40 bump openapi generator revision for typescript.sh (#239)
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
2023-03-10 08:46:40 -08:00
Hui Yu
b32dcd6dc9 Set git safe directory to avoid dubious ownership error (#237) 2023-02-22 08:55:57 -08:00
Dmitry Makhrovsky
39ed53daeb Fix python-crd-cmd.sh cli options and improve verbosity in preprocess (#235)
* Missed colon added

* pass client version added to options

* added verbosity to crd gen
2023-01-09 15:49:12 -08:00
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
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
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
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
Haowei Cai (Roy)
7e78f11710 default LIBRARY to okhttp-gson (#187) 2021-04-13 09:29:11 -07: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