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

[Java Play Framework ]Fix issue with CSV fields #7496

Merged
merged 1 commit into from
Jan 25, 2018
Merged

[Java Play Framework ]Fix issue with CSV fields #7496

merged 1 commit into from
Jan 25, 2018

Conversation

JFCote
Copy link
Contributor

@JFCote JFCote commented Jan 24, 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: 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 language.

@bbdouglas (2017/07) @JFCote (2017/08) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01)

Description of the PR

When the passed CSV is empty, we must not create an array with one empty item, we must simply have an empty array.

Generated code include changes from the recent 2.4.0 merge.

…nsfered to the controllerImp with an empty item.
@cbornet
Copy link
Contributor

cbornet commented Jan 24, 2018

LGTM

Copy link
Contributor

@jeff9finger jeff9finger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wing328
Copy link
Contributor

wing328 commented Jan 25, 2018

@JFCote thanks for the fix.

@cbornet @jeff9finger thanks for reviewing the change.

@wing328 wing328 merged commit e33b350 into swagger-api:master Jan 25, 2018
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.

4 participants