Skip to content

Commit

Permalink
config; fix go - now requires go 1.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Mar 31, 2018
1 parent 5f2b2f7 commit 06b2609
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 468 deletions.
7 changes: 3 additions & 4 deletions configs/go.json
Expand Up @@ -9,10 +9,8 @@
"partial_header": "partial_header.mustache"
},
"transformations": [
{ "input": "api_client.mustache", "output": "api_client.go" },
{ "input": "client.mustache", "output": "client.go" },
{ "input": "api_doc.mustache", "output": "api_doc.md" },
{ "input": "api_response.mustache", "output": "api_response.go" },
{ "input": "response.mustache", "output": "response.go" },
{ "input": "configuration.mustache", "output": "configuration.go" },
{ "input": "gitignore.mustache", "output": ".gitignore" },
Expand All @@ -22,9 +20,10 @@
{ "input": "swagger.mustache", "output": "swagger.yaml" }
],
"perApi": [
{ "input": "api.mustache", "output": "{{name}}_api.go" }
{ "input": "api.mustache", "output": "{{name}}_api.go",
"defaults": { "imports": [] } }
],
"perModel": [
{ "input": "model.mustache", "output": "{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.go" }
{ "input": "model.mustache", "output": "{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.go", "defaults": { "imports": [] } }
]
}

0 comments on commit 06b2609

Please sign in to comment.