format
This commit is contained in:
		
							parent
							
								
									1ba9b4a897
								
							
						
					
					
						commit
						e2aba79ce0
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -945,7 +945,8 @@ fn create_query_struct(spec: &OpenApiV2, path: &str, op: &Operation) -> eyre::Re
 | 
			
		|||
                        writeln!(
 | 
			
		||||
                            &mut handler,
 | 
			
		||||
                            "write!(f, \"{}={{{}}}&\")?;",
 | 
			
		||||
                            param.name, field_name.strip_prefix("r#").unwrap_or(&field_name)
 | 
			
		||||
                            param.name,
 | 
			
		||||
                            field_name.strip_prefix("r#").unwrap_or(&field_name)
 | 
			
		||||
                        )?;
 | 
			
		||||
                    }
 | 
			
		||||
                },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue