修复导入api时解析swagger3 boolean类型bug
This commit is contained in:
parent
36019548ca
commit
07647b1535
|
@ -769,7 +769,7 @@ public class Swagger3ParserApiDefinition extends HttpApiDefinitionImportAbstract
|
|||
|
||||
private JsonSchemaItem parseBoolean(BooleanSchema booleanSchema) {
|
||||
JsonSchemaItem jsonSchemaItem = parseSchemaItem(booleanSchema);
|
||||
jsonSchemaItem.setType(PropertyConstant.NUMBER);
|
||||
jsonSchemaItem.setType(PropertyConstant.BOOLEAN);
|
||||
return jsonSchemaItem;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue