|  |  |  | @ -158,14 +158,15 @@ 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); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (schema != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                     docParameter.setType(schema.getString("type")); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |                 docParameterList.add(docParameter); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |