Commit Graph

37 Commits

Author SHA1 Message Date
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
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
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
Min Kim
16be7553cc remove watch/allowWatchBookmarks from deleteCollection openapi parameters (#158) 2020-05-18 15:23:36 -07:00
Tomasz Prus
b30bbc34e8 feat: update version in downloaded swagger.json spec (#144) 2020-02-09 13:19:52 -08:00
Min Kim
c81822b959 [java] enforce custom mapping for patch object (#140) 2019-12-10 15:48:05 -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
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
Min Kim
3bee7a06d0 java: preserve structurelized patch obj (#118) 2019-06-12 19:56:12 -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
Tomasz Prus
f3bcfa5da0 feat: add x-codegen-request-body-name in preprocessing step (#96) 2019-01-22 20:37:26 -08: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
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
Yuvi Panda
af31f88a18 Use argparse for argument handling in preprocess_spec.py (#49)
More canonically pythonic than munging with sys.args!
2018-02-14 11:24:47 -08:00
Boshi Lian
8b1ebbc7a4 generator for patch v1 (#46) 2018-01-25 21:58:08 -08:00
Boshi Lian
a867e60133 csharp generator update for v1.8 (#39)
* handle intorstr and quantity in csharp

* remove generated public property from quantity

* add comment why mkdir before docker build
2017-12-08 07:31:38 -06:00
Brendan Burns
86d53c7c0b Merge pull request #36 from noironetworks/noironetworks
Fix crashes on Python 2.7+ and when an operation is missing the "tags" key
2017-11-30 18:36:47 -08:00
Ceridwen
263032d86c Fix KeyError with operations missing "tags" and crash on Python 2.7+ 2017-11-30 10:31:46 -08:00
Lewis Headden
3863091633 Disable pre-processing for resource.Quantity 2017-11-22 10:27:37 -05:00
Lewis Headden
4adc3f0211 Fix typo 2017-11-02 11:02:07 -04:00
Lewis Headden
ec6775b6ea Remove line break 2017-11-02 11:01:11 -04:00
Lewis Headden
0f9ff8b30a Continue loop on excluded primitive 2017-11-02 10:59:11 -04:00
Lewis Headden
762413f2d2 Add support for preprocessing variants based on language 2017-10-31 14:59:19 -04:00
mbohlool
32e0f33a32 Better support for IntOrString 2017-10-12 17:09:34 -07:00
Mehdy Bohlool
19c0932c2e Fix preprocessing script to remove deprecation redirection models 2017-10-03 00:32:49 -07:00
Ceridwen
903c7c4a44 Allow preprocess_spec.py to be imported, make it compatible with Python 3, and fix invalid Swagger generation 2017-08-24 11:26:16 -07:00
mbohlool
d74ec595ae Support both TPR and CRD with custom objects spec 2017-07-06 15:48:29 -07:00
mbohlool
d9b8eb9ccd Add Third Party Resources support 2017-06-09 15:37:08 -07:00
mbohlool
b1df899f71 Add javascript generator 2017-04-28 16:06:25 -07:00