处理发现问题

This commit is contained in:
wanggeng 2022-05-12 16:25:34 +08:00
parent 22034662f3
commit 71d1670417

View File

@ -266,6 +266,9 @@ public class ApiInfoServiceImpl extends DefaultBaseService implements IApiInfoSe
if (parameter instanceof BodyParameter) {
BodyParameter bodyParameter = (BodyParameter) parameter;
Model schema = bodyParameter.getSchema();
if (schema == null) {
continue;
}
requestParameter.put("schemaClass", schema.getClass());
if (schema instanceof RefModel) {
RefModel refModel = (RefModel) schema;