Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the openapi generator #1

Merged

Conversation

fabiokung
Copy link

@fabiokung fabiokung commented Sep 21, 2019

The new generator has some fixes supporting schema v3 in v1.16 custom type mappings for aliased types (OpenAPITools/openapi-generator#4182).

@fabiokung
Copy link
Author

Required to make kubernetes-client#117 work.

@fabiokung
Copy link
Author

PTAL @yue9944882

fabiokung added a commit to fabiokung/java that referenced this pull request Sep 21, 2019
fabiokung added a commit to fabiokung/java that referenced this pull request Sep 21, 2019
@yue9944882
Copy link
Owner

Required to make kubernetes-client#117 work.

thanks for updating this. just out of curiosity, what's new in 4.1.2 release?

fabiokung added a commit to fabiokung/java that referenced this pull request Oct 19, 2019
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.
fabiokung added a commit to fabiokung/java that referenced this pull request Oct 22, 2019
fabiokung added a commit to fabiokung/java that referenced this pull request Oct 22, 2019
@yue9944882
Copy link
Owner

thanks, merging it. i will append more commits for minor changes

@yue9944882 yue9944882 merged commit e902edc into yue9944882:chore/migrate-java-client Oct 22, 2019
@fabiokung fabiokung deleted the update-openapi-gen branch October 22, 2019 20:20
fabiokung added a commit to fabiokung/java that referenced this pull request Oct 24, 2019
yue9944882 pushed a commit to yue9944882/java that referenced this pull request Nov 6, 2019
yue9944882 pushed a commit to yue9944882/java that referenced this pull request Nov 8, 2019
depends on yue9944882/gen#1

okhttp3 and models generated by openapi-generator

Changes required to make everything compile with models generated by
openapi-generator (instead of swagger-codegen).

These changes break backwards compatibility, it will require a new major
version release.

pin sundrio to 0.19.2

it includes sundrio/sundrio#156

reformat code (./mvnw fmt)

depend on javax.annotation:javax.annotation-api

to make javax.annotation.Generated work with Java 9

prevent Travis builds failing because of no output

... when tests take more than 10min to complete.

javadoc generation for http.response.details

drop the TODO, not needed anymore

remove reference to swagger-codegen

no gson internals for date parsing/formatting

Reapply changes from kubernetes-client#366 to the code generated by openapi-generator,
and keep the JSON file pinned (ignored by the generator) until those
changes make it into the generator.

regenerate code with SSL bootstrapping fix

Using a generator with OpenAPITools/openapi-generator#4226 applied.

re-generate from v4.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants