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

Cherrypick 1391 : address comment nits #1489

Closed
wants to merge 27 commits into from

Conversation

wheezil
Copy link
Contributor

@wheezil wheezil commented Nov 18, 2018

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

Address comment nits for 1391

john lilley and others added 27 commits October 25, 2018 09:27
Bring my fork up to date with base
I think these tests cover all the problems with rust-server and inline objects I know about. This should show us when we've fixed the problem.

Also fixes a CI failure.
* Avoid creating unused ThreadPools

Instead, create ApiClient.pool on first request for .pool property.

avoids spawning n-cpus threads (the default for ThreadPool) at instantiation of every ApiClient

* update doc

* set pool_thread to None
* add post processing to kotlin file

* restore kotlin samples
* Re-instate ApiRequestParser

It turns out I was over-eager when removing file support and accidentally deleted some code that should have been kept. See https://github.com/OpenAPITools/openapi-generator/pull/547/files#diff-684007b298ee5998fa30732c261ea2fcL469.

* Don't do html escaping of parameters
* add file post processing to php

* restore php petstore client
…OpenAPITools#1357)

code if the yml-definition does not have any type definitions. This
is normal if the api only uses simple datatypes (Int, String) for
inout/output.
* Add parcelizeModels cli option

* Add info log to clarify the parcelization requirements.

* Update docs
* Fix warnings produced when using Swift 4.2

* Update Petstore client for Swift 4
* remove duplicated imports

* fix model import in java

* update generator docs

* fix model import for retrofit2 client
…ls#1415)

Add tip about running online openapi-generator via Docker
* add top level x-group-parameters support

* update petstore samples
* Fix return_type parameter examples

* $ bin/openapi3/ruby-client-petstore.sh
* test run-in-docker in travis

* fix command path

* correct batch mode arg

* disable useSystemClassLoader
…napi-generator into cherrypick-1391

# Conflicts:
#	modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java
@wheezil wheezil closed this Nov 18, 2018
@wheezil
Copy link
Contributor Author

wheezil commented Nov 18, 2018

Too many stray diffs showed up, need help

@wheezil wheezil deleted the cherrypick-1391 branch November 18, 2018 17:32
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.

9 participants