forked from loafle/openapi-generator-original
		
	Add R namespace file (#7467)
* add r namespace file * rename NAMESPACE mustache file
This commit is contained in:
		
							parent
							
								
									cf4df630b7
								
							
						
					
					
						commit
						61e58d6496
					
				@ -146,6 +146,7 @@ public class RClientCodegen extends DefaultCodegen implements CodegenConfig {
 | 
			
		||||
        supportingFiles.add(new SupportingFile("response.mustache", "/R", "Response.r"));
 | 
			
		||||
        supportingFiles.add(new SupportingFile("element.mustache", "/R", "Element.r"));
 | 
			
		||||
        supportingFiles.add(new SupportingFile("api_client.mustache", "/R", "ApiClient.r"));
 | 
			
		||||
        supportingFiles.add(new SupportingFile("NAMESPACE.mustache", "", "NAMESPACE"));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1,8 @@
 | 
			
		||||
# Generated by swagger-codegen: https://github.com/swagger-api/swagger-codegen
 | 
			
		||||
# Do not edit by hand
 | 
			
		||||
 | 
			
		||||
{{#models}}
 | 
			
		||||
{{#model}}
 | 
			
		||||
export({{{classname}}})
 | 
			
		||||
{{/model}}
 | 
			
		||||
{{/models}}
 | 
			
		||||
							
								
								
									
										9
									
								
								samples/client/petstore/r_test/NAMESPACE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								samples/client/petstore/r_test/NAMESPACE
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# Generated by swagger-codegen: https://github.com/swagger-api/swagger-codegen
 | 
			
		||||
# Do not edit by hand
 | 
			
		||||
 | 
			
		||||
export(ApiResponse)
 | 
			
		||||
export(Category)
 | 
			
		||||
export(Order)
 | 
			
		||||
export(Pet)
 | 
			
		||||
export(Tag)
 | 
			
		||||
export(User)
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user