mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -208,8 +208,11 @@ public class SwaggerDocParser implements DocParser {
|
||||
protected List<DocParameter> buildDocParameters(String ref, JSONObject docRoot, boolean doSubRef) {
|
||||
JSONObject responseObject = docRoot.getJSONObject("definitions").getJSONObject(ref);
|
||||
JSONObject properties = responseObject.getJSONObject("properties");
|
||||
Set<String> fieldNames = properties.keySet();
|
||||
List<DocParameter> docParameterList = new ArrayList<>();
|
||||
if (properties == null) {
|
||||
return docParameterList;
|
||||
}
|
||||
Set<String> fieldNames = properties.keySet();
|
||||
for (String fieldName : fieldNames) {
|
||||
/*
|
||||
{
|
||||
|
Reference in New Issue
Block a user