Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[JavaPlayFramework] Various fixes for different CLI options #6121

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

Merged
wing328 merged 1 commit into swagger-api:master from StingrayDigital:fix-issue-6094
Jul 20, 2017
Merged

[JavaPlayFramework] Various fixes for different CLI options #6121

wing328 merged 1 commit into swagger-api:master from StingrayDigital:fix-issue-6094
Jul 20, 2017

Conversation

@JFCote
Copy link
Contributor

@JFCote JFCote commented Jul 19, 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: master for non-breaking changes and 3.0.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Fix issue #6094
I have created a sample .sh file for each case, finding numerous bugs along the way since on my project I only use default value. Thanks a lot :)

@wing328 : You will probably need to add chmod to the new "all" .sh. Since I'm in windows, I can't commit this kind of thing. And please all of this to the CI.

Copy link
Contributor

wing328 commented Jul 20, 2017

@wing328 : You will probably need to add chmod to the new "all" .sh. Since I'm in windows, I can't commit this kind of thing. And please all of this to the CI.

I'll take care of it. Thanks for the heads-up.

public class {{classname}}Controller extends Controller {
private final {{classname}}ControllerImp imp;
{{^controllerOnly}}private final {{classname}}ControllerImp imp;{{/controllerOnly}}
Copy link
Contributor

Choose a reason for hiding this comment

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

@JFCote next time you may want to use the following instead to avoid the leading spaces:

 {{^controllerOnly}}
 private final {{classname}}ControllerImp imp;
 {{/controllerOnly}}

@wing328 wing328 merged commit bca35f6 into swagger-api:master Jul 20, 2017
@wing328 wing328 changed the title (削除) [JavaPlayFramework] Fix for issue #6094 (削除ここまで) (追記) [JavaPlayFramework] Various fixes for different CLI options (追記ここまで) Jul 20, 2017
@wing328 wing328 added this to the v2.3.0 milestone Jul 20, 2017
@JFCote JFCote deleted the fix-issue-6094 branch December 21, 2017 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@wing328 wing328 wing328 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

v2.3.0

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /