forked from loafle/openapi-generator-original
		
	
							parent
							
								
									ec6c4a4b6c
								
							
						
					
					
						commit
						c4db27f24d
					
				@ -452,6 +452,10 @@
 | 
				
			|||||||
                                        }
 | 
					                                        }
 | 
				
			||||||
                                        if (schema.$ref != null) {
 | 
					                                        if (schema.$ref != null) {
 | 
				
			||||||
                                          schema = defsParser.$refs.get(schema.$ref);
 | 
					                                          schema = defsParser.$refs.get(schema.$ref);
 | 
				
			||||||
 | 
					                                          Object.keys(schema.properties).forEach( (item) => {
 | 
				
			||||||
 | 
					                                            if (schema.properties[item].$ref != null) {
 | 
				
			||||||
 | 
					                                              schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
 | 
				
			||||||
 | 
					                                            }
 | 
				
			||||||
                                        } else if (schema.items != null && schema.items.$ref != null) {
 | 
					                                        } else if (schema.items != null && schema.items.$ref != null) {
 | 
				
			||||||
                                            schema.items = defsParser.$refs.get(schema.items.$ref);
 | 
					                                            schema.items = defsParser.$refs.get(schema.items.$ref);
 | 
				
			||||||
                                        } else {
 | 
					                                        } else {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user