fix(接口测试): swagger3导入对json 数据的处理
--user=郭雨琦 --bug=1014753 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001014753
This commit is contained in:
parent
c4dabe7ded
commit
1317871669
|
@ -478,14 +478,6 @@ public class Swagger3Parser extends SwaggerAbstractParser {
|
||||||
} else if (schema instanceof ObjectSchema) {
|
} else if (schema instanceof ObjectSchema) {
|
||||||
item.setType("object");
|
item.setType("object");
|
||||||
item.setProperties(parseSchemaProperties(schema, refSet));
|
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 {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue