处理发现问题
This commit is contained in:
parent
22034662f3
commit
71d1670417
@ -266,6 +266,9 @@ public class ApiInfoServiceImpl extends DefaultBaseService implements IApiInfoSe
|
|||||||
if (parameter instanceof BodyParameter) {
|
if (parameter instanceof BodyParameter) {
|
||||||
BodyParameter bodyParameter = (BodyParameter) parameter;
|
BodyParameter bodyParameter = (BodyParameter) parameter;
|
||||||
Model schema = bodyParameter.getSchema();
|
Model schema = bodyParameter.getSchema();
|
||||||
|
if (schema == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
requestParameter.put("schemaClass", schema.getClass());
|
requestParameter.put("schemaClass", schema.getClass());
|
||||||
if (schema instanceof RefModel) {
|
if (schema instanceof RefModel) {
|
||||||
RefModel refModel = (RefModel) schema;
|
RefModel refModel = (RefModel) schema;
|
||||||
|
Loading…
Reference in New Issue
Block a user