update openapi create error for upload
This commit is contained in:
parent
6e3def2f7e
commit
6d993ed2a4
|
@ -241,11 +241,7 @@ public class OpenApiBuilder {
|
|||
if (!isRep && apiMethodDoc.getContentType().equals(DocGlobalConstants.MULTIPART_TYPE)) {
|
||||
// formdata
|
||||
Map<String, Object> map = new LinkedHashMap<>();
|
||||
if (apiMethodDoc.isListParam()) {
|
||||
map.put("type", DocGlobalConstants.ARRAY);
|
||||
} else {
|
||||
map.put("type", "object");
|
||||
}
|
||||
Map<String, Object> properties = new LinkedHashMap<>();
|
||||
Map<String, Object> detail;
|
||||
for (ApiParam apiParam : apiMethodDoc.getQueryParams()) {
|
||||
|
|
Loading…
Reference in New Issue