|  |  |  | @ -158,12 +158,10 @@ public class SwaggerDocParser implements DocParser { | 
			
		
	
		
			
				
					|  |  |  |  |         for (int i = 0; i < parameters.size(); i++) { | 
			
		
	
		
			
				
					|  |  |  |  |             JSONObject fieldJson = parameters.getJSONObject(i); | 
			
		
	
		
			
				
					|  |  |  |  |             JSONObject schema = fieldJson.getJSONObject("schema"); | 
			
		
	
		
			
				
					|  |  |  |  |             if (schema != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 RefInfo refInfo = getRefInfo(schema); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (refInfo != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                     List<DocParameter> parameterList = this.buildDocParameters(refInfo.ref, docRoot, true); | 
			
		
	
		
			
				
					|  |  |  |  |                     docParameterList.addAll(parameterList); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |              RefInfo refInfo; | 
			
		
	
		
			
				
					|  |  |  |  |             if (schema != null && (refInfo = getRefInfo(schema)) != null ) { | 
			
		
	
		
			
				
					|  |  |  |  |                 List<DocParameter> parameterList = this.buildDocParameters(refInfo.ref, docRoot, true); | 
			
		
	
		
			
				
					|  |  |  |  |                 docParameterList.addAll(parameterList); | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 DocParameter docParameter = fieldJson.toJavaObject(DocParameter.class); | 
			
		
	
		
			
				
					|  |  |  |  |                 docParameterList.add(docParameter); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |