forked from loafle/openapi-generator-original
[Java] option for the prefix of boolean getters (#432)
* Add "booleanGetterPrefix" option * Create `docs/migration-guide.adoc`
This commit is contained in:
@@ -29,7 +29,7 @@ public class Cat extends Animal {
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public Boolean isDeclawed() {
|
||||
public Boolean getDeclawed() {
|
||||
return declawed;
|
||||
}
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ public class Order {
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public Boolean isComplete() {
|
||||
public Boolean getComplete() {
|
||||
return complete;
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public class OuterComposite {
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
|
||||
public Boolean isMyBoolean() {
|
||||
public Boolean getMyBoolean() {
|
||||
return myBoolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user