Skip to content

Commit

Permalink
Add R namespace file (#7467)
Browse files Browse the repository at this point in the history
* add r namespace file

* rename NAMESPACE mustache file
  • Loading branch information
wing328 authored Jan 22, 2018
1 parent cf4df63 commit 61e58d6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public void processOpts() {
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
Expand Down
Original file line number Diff line number Diff line change
@@ -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}}
Empty file.
9 changes: 9 additions & 0 deletions samples/client/petstore/r_test/NAMESPACE
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 61e58d6

Please sign in to comment.