Skip to content

Conversation

@jfiala
Copy link
Contributor

@jfiala jfiala commented Mar 4, 2017

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

Implemented #4718 for CXF.

cliOptions.add(new CliOption("title", "a title describing the application"));

cliOptions.add(CliOption.newBoolean(USE_BEANVALIDATION, "Use BeanValidation API annotations"));
cliOptions.add(CliOption.newBoolean(USE_BEANVALIDATION, "Use BeanValidation API annotations"));
Copy link
Contributor

Choose a reason for hiding this comment

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

@jfiala This line is not aligned properly (missing 2 spaces)

if (additionalProperties.containsKey(USE_BEANVALIDATION)) {
this.setUseBeanValidation(convertPropertyToBoolean(USE_BEANVALIDATION));
}
if (additionalProperties.containsKey(USE_BEANVALIDATION)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Alignment issue.

public void addPetTest() {
Pet body = null;
//api.addPet(body);
//api.addPet(body);
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like missing a space and I don't think it's caused by the change in this PR. Still it would be nice if you can fix it in this PR.

@jfiala
Copy link
Contributor Author

jfiala commented Mar 9, 2017

@wing328 fixed alignment issues from your review & replaced tabs.

@wing328
Copy link
Contributor

wing328 commented Mar 12, 2017

@jfiala thanks for the update. PR merged into master.

@wing328 wing328 merged commit 39eba39 into swagger-api:master Mar 12, 2017
@wing328 wing328 added this to the v2.2.3 milestone Mar 12, 2017
@ePaul ePaul mentioned this pull request Mar 26, 2017
3 tasks
spr3nk3ls pushed a commit to spr3nk3ls/swagger-codegen that referenced this pull request Mar 28, 2017
…api#4920)

* add ApiResponse/s to operation swagger-api#4718

* use spaces instead of tabs swagger-api#4718

* fix alignment issues swagger-api#4920

* fix alignment issues swagger-api#4920

* replace tabs with spaces swagger-api#4920

* updated samples swagger-api#4920
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