Skip to content

Conversation

@antihax
Copy link
Contributor

@antihax antihax commented Dec 2, 2016

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch 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)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Add support for optional queryParams.
Remove parameterToString from exports (end user should not need this function).
Make sure the object is not nil before validating.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] swagger-codegen-project ............................ SUCCESS [ 1.777 s]
[INFO] swagger-codegen (core library) ..................... SUCCESS [ 12.324 s]
[INFO] swagger-codegen (executable) ....................... SUCCESS [ 4.993 s]
[INFO] swagger-codegen (maven-plugin) ..................... SUCCESS [ 3.545 s]
[INFO] swagger-generator .................................. SUCCESS [ 4.652 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

D:\swagger\swagger-codegen\samples\client\petstore\go>go test
PASS
ok /D/swagger/swagger-codegen/samples/client/petstore/go 5.861s

Remove parameterToString from exports (end user should not need this function).

Make sure the object is not nil before validating.
@antihax
Copy link
Contributor Author

antihax commented Dec 2, 2016

See Issue #4269.

@wing328
Copy link
Contributor

wing328 commented Dec 2, 2016

@antihax thanks for the PR. Given that the method signature has changed, my understanding is that it's a breaking change so would you please file the PR against 2.3.0 branch instead?

@wing328 wing328 added this to the v2.3.0 milestone Dec 2, 2016
@antihax antihax changed the base branch from master to 2.3.0 December 2, 2016 03:07
@antihax antihax changed the base branch from 2.3.0 to master December 2, 2016 03:07
@antihax
Copy link
Contributor Author

antihax commented Dec 2, 2016

moved to #4308

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.

2 participants