fix: swagger导入报错
This commit is contained in:
parent
cc6ac8f768
commit
c19f66e75e
|
@ -306,9 +306,11 @@ public class Swagger3Parser extends SwaggerAbstractParser {
|
|||
kv.setType("file");
|
||||
}
|
||||
}
|
||||
if (body != null) {
|
||||
body.getKvs().add(kv);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private String parseXmlBody(Schema schema, Object data) {
|
||||
if (data instanceof JSONObject) {
|
||||
|
|
Loading…
Reference in New Issue