Add R namespace file (#7467)

* add r namespace file

* rename NAMESPACE mustache file
This commit is contained in:
William Cheng 2018-01-22 22:32:22 +08:00 committed by GitHub
parent cf4df630b7
commit 61e58d6496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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}}

View 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)