1 | {
|
2 | "defaults": {
|
3 | "language": "lua",
|
4 | "packageName": "openapi",
|
5 | "imports": []
|
6 | },
|
7 | "partials": {
|
8 | "partial_header": "partial_header.mustache"
|
9 | },
|
10 | "directories": [
|
11 | "err", "docs"
|
12 | ],
|
13 | "transformations": [
|
14 | { "input": "luarocks.mustache", "output": "luarocks" },
|
15 | { "input": "gitignore.mustache", "output": ".gitignore" },
|
16 | { "input": "git_push.sh.mustache", "output": "git_push.sh" },
|
17 | { "input": "model_doc.mustache", "output": "model_doc.md" },
|
18 | { "input": "README.mustache", "output": "README.md" }
|
19 | ],
|
20 | "perModel": [
|
21 | { "input": "model.mustache", "output": "{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.lua" },
|
22 | { "input": "model_test.mustache", "output": "{{#models}}{{#model}}{{name}}{{/model}}{{/models}}Test.lua" }
|
23 | ],
|
24 | "perApi": [
|
25 | { "input": "api_doc.mustache", "output": "docs/{{name}}.md" },
|
26 | { "input": "api.mustache", "output": "{{name}}Api.lua" },
|
27 | { "input": "api_test.mustache", "output": "{{name}}ApiTest.lua" }
|
28 | ]
|
29 | }
|