forked from loafle/openapi-generator-original
More updates for isBoolean (#9802)
* more updates for isBoolean * update samples
This commit is contained in:
parent
41afcd0f86
commit
d13685a3ad
@ -614,6 +614,14 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
||||
this.isShort = isShort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsBoolean() { return isBoolean; }
|
||||
|
||||
@Override
|
||||
public void setIsBoolean(boolean isBoolean) {
|
||||
this.isBoolean= isBoolean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||
|
||||
@ -771,6 +779,7 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
||||
isShort == that.isShort &&
|
||||
isLong == that.isLong &&
|
||||
isUnboundedInteger == that.isUnboundedInteger &&
|
||||
isBoolean == that.isBoolean &&
|
||||
isNumber == that.isNumber &&
|
||||
isNumeric == that.isNumeric &&
|
||||
isFloat == that.isFloat &&
|
||||
@ -857,7 +866,7 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
||||
getDescription(), getClassVarName(), getModelJson(), getDataType(), getXmlPrefix(), getXmlNamespace(),
|
||||
getXmlName(), getClassFilename(), getUnescapedDescription(), getDiscriminator(), getDefaultValue(),
|
||||
getArrayModelType(), isAlias, isString, isInteger, isLong, isNumber, isNumeric, isFloat, isDouble,
|
||||
isDate, isDateTime, isNull, hasValidation, isShort, isUnboundedInteger,
|
||||
isDate, isDateTime, isNull, hasValidation, isShort, isUnboundedInteger, isBoolean,
|
||||
getVars(), getAllVars(), getRequiredVars(), getOptionalVars(), getReadOnlyVars(), getReadWriteVars(),
|
||||
getParentVars(), getAllowableValues(), getMandatory(), getAllMandatory(), getImports(), hasVars,
|
||||
isEmptyVars(), hasMoreModels, hasEnums, isEnum, isNullable, hasRequired, hasOptional, isArray,
|
||||
@ -902,6 +911,7 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
||||
sb.append(", isShort=").append(isShort);
|
||||
sb.append(", isLong=").append(isLong);
|
||||
sb.append(", isUnboundedInteger=").append(isUnboundedInteger);
|
||||
sb.append(", isBoolean=").append(isBoolean);
|
||||
sb.append(", isNumber=").append(isNumber);
|
||||
sb.append(", isNumeric=").append(isNumeric);
|
||||
sb.append(", isFloat=").append(isFloat);
|
||||
|
@ -574,6 +574,14 @@ public class CodegenParameter implements IJsonSchemaValidationProperties {
|
||||
this.isShort = isShort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsBoolean() { return isBoolean; }
|
||||
|
||||
@Override
|
||||
public void setIsBoolean(boolean isBoolean) {
|
||||
this.isBoolean = isBoolean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||
|
||||
|
@ -517,6 +517,14 @@ public class CodegenProperty implements Cloneable, IJsonSchemaValidationProperti
|
||||
this.isShort = isShort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsBoolean() { return isBoolean; }
|
||||
|
||||
@Override
|
||||
public void setIsBoolean(boolean isBoolean) {
|
||||
this.isBoolean = isBoolean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||
|
||||
|
@ -328,6 +328,14 @@ public class CodegenResponse implements IJsonSchemaValidationProperties {
|
||||
this.isShort = isShort;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsBoolean() { return isBoolean; }
|
||||
|
||||
@Override
|
||||
public void setIsBoolean(boolean isBoolean) {
|
||||
this.isBoolean = isBoolean;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||
|
||||
|
@ -83,6 +83,10 @@ public interface IJsonSchemaValidationProperties {
|
||||
|
||||
void setIsShort(boolean isShort);
|
||||
|
||||
boolean getIsBoolean();
|
||||
|
||||
void setIsBoolean(boolean isBoolean);
|
||||
|
||||
boolean getIsUnboundedInteger();
|
||||
|
||||
void setIsUnboundedInteger(boolean isUnboundedInteger);
|
||||
@ -118,4 +122,4 @@ public interface IJsonSchemaValidationProperties {
|
||||
boolean getHasRequired();
|
||||
|
||||
void setHasRequired(boolean hasRequired);
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
5.1.1-SNAPSHOT
|
||||
5.2.0-SNAPSHOT
|
@ -383,6 +383,7 @@ export enum EnumArraysArrayEnumEnum {
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
|
||||
export enum EnumClass {
|
||||
Abc = '_abc',
|
||||
Efg = '-efg',
|
||||
@ -1017,6 +1018,7 @@ export interface OuterComposite {
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
|
||||
export enum OuterEnum {
|
||||
Placed = 'placed',
|
||||
Approved = 'approved',
|
||||
@ -1028,6 +1030,7 @@ export enum OuterEnum {
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
|
||||
export enum OuterEnumDefaultValue {
|
||||
Placed = 'placed',
|
||||
Approved = 'approved',
|
||||
@ -1039,6 +1042,7 @@ export enum OuterEnumDefaultValue {
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
|
||||
export enum OuterEnumInteger {
|
||||
NUMBER_0 = 0,
|
||||
NUMBER_1 = 1,
|
||||
@ -1050,6 +1054,7 @@ export enum OuterEnumInteger {
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
|
||||
export enum OuterEnumIntegerDefaultValue {
|
||||
NUMBER_0 = 0,
|
||||
NUMBER_1 = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user