fix(接口测试): swagger3导入对json 数据的处理

--user=郭雨琦
--bug=1014753
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014753
This commit is contained in:
guoyuqi 2022-07-12 13:29:19 +08:00 committed by xiaomeinvG
parent c4dabe7ded
commit 1317871669
1 changed files with 0 additions and 8 deletions

View File

@ -478,14 +478,6 @@ public class Swagger3Parser extends SwaggerAbstractParser {
} else if (schema instanceof ObjectSchema) {
item.setType("object");
item.setProperties(parseSchemaProperties(schema, refSet));
} else if (schema instanceof StringSchema) {
item.setType("string");
} else if (schema instanceof IntegerSchema) {
item.setType("integer");
} else if (schema instanceof NumberSchema) {
item.setType("number");
} else if (schema instanceof BooleanSchema) {
item.setType("boolean");
} else {
return null;
}