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

[Python/tornado] add integration tests and fix bugs #6925

Merged
merged 3 commits into from
Nov 13, 2017

Conversation

tomplus
Copy link
Contributor

@tomplus tomplus commented Nov 9, 2017

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: 3.0.0 branch for changes related to OpenAPI spec 3.0. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming langauge.

Description of the PR

Generated python-tornado client doesn't work. In this PR I add some tests (adopted from the main python client library) and fix code.

Fix #6924

@tomplus
Copy link
Contributor Author

tomplus commented Nov 9, 2017

Please take a look @taxpon @frol @mbohlool @cbornet @kenjones-cisco
CC @wing328

@frol
Copy link
Contributor

frol commented Nov 10, 2017

Looks good to me!

@tomplus Thank you!

@kenjones-cisco
Copy link
Contributor

LGTM!

@tomplus
Copy link
Contributor Author

tomplus commented Nov 10, 2017

Thanks for your feedback.

@wing328 wing328 merged commit 4e967e6 into swagger-api:master Nov 13, 2017
@wing328
Copy link
Contributor

wing328 commented Nov 13, 2017

FYI. Added python-tornado petstore client to Travis CI via 90a0b7a

@wing328
Copy link
Contributor

wing328 commented Nov 13, 2017

cc @toumorokoshi

jimschubert added a commit to jimschubert/swagger-codegen that referenced this pull request Nov 14, 2017
* master: (101 commits)
  [Swift4] Allow for custom dateformatter to be used (swagger-api#6672)
  [haskell-http-client] fix bug when generating models-only (swagger-api#6931)
  fix typo: crediential => credential
  minor typo fix
  [csharp] fix enum serialization of first value (swagger-api#6873)
  [PHP] Improve docs and README (swagger-api#6935)
  Binary mode for file deserialization in python (swagger-api#6936)
  add python tornado test to travis
  [Python/tornado] add integration tests and fix bugs (swagger-api#6925)
  Fix PHP passes response body to ApiException (swagger-api#6923)
  [TypeScript][Node] Resolve TS2532 error (swagger-api#6932)
  skip "all" shell script
  minor formatting change
  Fixes Issue swagger-api#6841, Map for accessing additionalProperties is generated. (swagger-api#6886)
  add tsloughter as owner erlang
  WIP: initial commit for Erlang client generator (swagger-api#6502)
  add back php client test
  Switch Travis image from MacOS to Linux (swagger-api#6937)
  add link to ebook
  [Scala] Default case class Option types to None for non-required fields (swagger-api#6790)
  ...
@tomplus tomplus deleted the fix/python-tornado branch December 20, 2017 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Python/tornado] generated code does not work
4 participants