openapi-codegen
Version:
OpenAPI 3.0 CodeGen
23 lines (22 loc) • 815 B
JSON
{
"defaults": {
"serverPort": "3000",
"implFolder": "impl",
"googleCloudFunctions": false
},
"directories": [
"api", "controllers", "utils", "impl"
],
"transformations": [
{ "input": "index.mustache", "output": "index.js" },
{ "input": "index-gcf.mustache", "output": "index-gcf.js" },
{ "input": "package.mustache", "output": "package.json" },
{ "input": "README.mustache", "output": "README.md" },
{ "input": "swagger.mustache", "output": "api/swagger.yaml" },
{ "input": "writer.mustache", "output": "utils/writer.js" }
],
"perApi": [
{ "input": "controller.mustache", "output": "controllers/{{name}}.js" },
{ "input": "service.mustache", "output": "impl/{{name}}ApiService.js" }
]
}