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;
|
this.isShort = isShort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean getIsBoolean() { return isBoolean; }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setIsBoolean(boolean isBoolean) {
|
||||||
|
this.isBoolean= isBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||||
|
|
||||||
@ -771,6 +779,7 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
|||||||
isShort == that.isShort &&
|
isShort == that.isShort &&
|
||||||
isLong == that.isLong &&
|
isLong == that.isLong &&
|
||||||
isUnboundedInteger == that.isUnboundedInteger &&
|
isUnboundedInteger == that.isUnboundedInteger &&
|
||||||
|
isBoolean == that.isBoolean &&
|
||||||
isNumber == that.isNumber &&
|
isNumber == that.isNumber &&
|
||||||
isNumeric == that.isNumeric &&
|
isNumeric == that.isNumeric &&
|
||||||
isFloat == that.isFloat &&
|
isFloat == that.isFloat &&
|
||||||
@ -857,7 +866,7 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
|||||||
getDescription(), getClassVarName(), getModelJson(), getDataType(), getXmlPrefix(), getXmlNamespace(),
|
getDescription(), getClassVarName(), getModelJson(), getDataType(), getXmlPrefix(), getXmlNamespace(),
|
||||||
getXmlName(), getClassFilename(), getUnescapedDescription(), getDiscriminator(), getDefaultValue(),
|
getXmlName(), getClassFilename(), getUnescapedDescription(), getDiscriminator(), getDefaultValue(),
|
||||||
getArrayModelType(), isAlias, isString, isInteger, isLong, isNumber, isNumeric, isFloat, isDouble,
|
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(),
|
getVars(), getAllVars(), getRequiredVars(), getOptionalVars(), getReadOnlyVars(), getReadWriteVars(),
|
||||||
getParentVars(), getAllowableValues(), getMandatory(), getAllMandatory(), getImports(), hasVars,
|
getParentVars(), getAllowableValues(), getMandatory(), getAllMandatory(), getImports(), hasVars,
|
||||||
isEmptyVars(), hasMoreModels, hasEnums, isEnum, isNullable, hasRequired, hasOptional, isArray,
|
isEmptyVars(), hasMoreModels, hasEnums, isEnum, isNullable, hasRequired, hasOptional, isArray,
|
||||||
@ -902,6 +911,7 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
|
|||||||
sb.append(", isShort=").append(isShort);
|
sb.append(", isShort=").append(isShort);
|
||||||
sb.append(", isLong=").append(isLong);
|
sb.append(", isLong=").append(isLong);
|
||||||
sb.append(", isUnboundedInteger=").append(isUnboundedInteger);
|
sb.append(", isUnboundedInteger=").append(isUnboundedInteger);
|
||||||
|
sb.append(", isBoolean=").append(isBoolean);
|
||||||
sb.append(", isNumber=").append(isNumber);
|
sb.append(", isNumber=").append(isNumber);
|
||||||
sb.append(", isNumeric=").append(isNumeric);
|
sb.append(", isNumeric=").append(isNumeric);
|
||||||
sb.append(", isFloat=").append(isFloat);
|
sb.append(", isFloat=").append(isFloat);
|
||||||
|
@ -574,6 +574,14 @@ public class CodegenParameter implements IJsonSchemaValidationProperties {
|
|||||||
this.isShort = isShort;
|
this.isShort = isShort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean getIsBoolean() { return isBoolean; }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setIsBoolean(boolean isBoolean) {
|
||||||
|
this.isBoolean = isBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||||
|
|
||||||
|
@ -517,6 +517,14 @@ public class CodegenProperty implements Cloneable, IJsonSchemaValidationProperti
|
|||||||
this.isShort = isShort;
|
this.isShort = isShort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean getIsBoolean() { return isBoolean; }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setIsBoolean(boolean isBoolean) {
|
||||||
|
this.isBoolean = isBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||||
|
|
||||||
|
@ -328,6 +328,14 @@ public class CodegenResponse implements IJsonSchemaValidationProperties {
|
|||||||
this.isShort = isShort;
|
this.isShort = isShort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean getIsBoolean() { return isBoolean; }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setIsBoolean(boolean isBoolean) {
|
||||||
|
this.isBoolean = isBoolean;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
public boolean getIsUnboundedInteger() { return isUnboundedInteger; }
|
||||||
|
|
||||||
|
@ -83,6 +83,10 @@ public interface IJsonSchemaValidationProperties {
|
|||||||
|
|
||||||
void setIsShort(boolean isShort);
|
void setIsShort(boolean isShort);
|
||||||
|
|
||||||
|
boolean getIsBoolean();
|
||||||
|
|
||||||
|
void setIsBoolean(boolean isBoolean);
|
||||||
|
|
||||||
boolean getIsUnboundedInteger();
|
boolean getIsUnboundedInteger();
|
||||||
|
|
||||||
void setIsUnboundedInteger(boolean isUnboundedInteger);
|
void setIsUnboundedInteger(boolean isUnboundedInteger);
|
||||||
|
@ -1 +1 @@
|
|||||||
5.1.1-SNAPSHOT
|
5.2.0-SNAPSHOT
|
@ -383,6 +383,7 @@ export enum EnumArraysArrayEnumEnum {
|
|||||||
* @export
|
* @export
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export enum EnumClass {
|
export enum EnumClass {
|
||||||
Abc = '_abc',
|
Abc = '_abc',
|
||||||
Efg = '-efg',
|
Efg = '-efg',
|
||||||
@ -1017,6 +1018,7 @@ export interface OuterComposite {
|
|||||||
* @export
|
* @export
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export enum OuterEnum {
|
export enum OuterEnum {
|
||||||
Placed = 'placed',
|
Placed = 'placed',
|
||||||
Approved = 'approved',
|
Approved = 'approved',
|
||||||
@ -1028,6 +1030,7 @@ export enum OuterEnum {
|
|||||||
* @export
|
* @export
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export enum OuterEnumDefaultValue {
|
export enum OuterEnumDefaultValue {
|
||||||
Placed = 'placed',
|
Placed = 'placed',
|
||||||
Approved = 'approved',
|
Approved = 'approved',
|
||||||
@ -1039,6 +1042,7 @@ export enum OuterEnumDefaultValue {
|
|||||||
* @export
|
* @export
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export enum OuterEnumInteger {
|
export enum OuterEnumInteger {
|
||||||
NUMBER_0 = 0,
|
NUMBER_0 = 0,
|
||||||
NUMBER_1 = 1,
|
NUMBER_1 = 1,
|
||||||
@ -1050,6 +1054,7 @@ export enum OuterEnumInteger {
|
|||||||
* @export
|
* @export
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export enum OuterEnumIntegerDefaultValue {
|
export enum OuterEnumIntegerDefaultValue {
|
||||||
NUMBER_0 = 0,
|
NUMBER_0 = 0,
|
||||||
NUMBER_1 = 1,
|
NUMBER_1 = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user