[Java] option for the prefix of boolean getters (#432)

* Add "booleanGetterPrefix" option
* Create `docs/migration-guide.adoc`
This commit is contained in:
Jérémie Bresson
2018-07-03 17:00:15 +02:00
committed by GitHub
parent 3d64bd0c49
commit 7a7e221210
121 changed files with 170 additions and 119 deletions

View File

@@ -44,7 +44,7 @@ public class Cat extends Animal {
* @return declawed
**/
@ApiModelProperty(value = "")
public Boolean isDeclawed() {
public Boolean getDeclawed() {
return declawed;
}

View File

@@ -203,7 +203,7 @@ public class Order {
* @return complete
**/
@ApiModelProperty(value = "")
public Boolean isComplete() {
public Boolean getComplete() {
return complete;
}

View File

@@ -88,7 +88,7 @@ public class OuterComposite {
* @return myBoolean
**/
@ApiModelProperty(value = "")
public Boolean isMyBoolean() {
public Boolean getMyBoolean() {
return myBoolean;
}