Skip to content

Instantly share code, notes, and snippets.

@angellandros
Last active October 18, 2019 23:47
Show Gist options
  • Save angellandros/477e094eb7d7b739f85f46556d61c848 to your computer and use it in GitHub Desktop.
Save angellandros/477e094eb7d7b739f85f46556d61c848 to your computer and use it in GitHub Desktop.
Sample TSOA config
{
"swagger": {
"basePath": "/api/v1",
"entryFile": "./src/main.ts",
"specVersion": 3,
"outputDirectory": "./api/dist",
"controllerPathGlobs": [
"./src/controllers/**/*controller.ts"
]
},
"routes": {
"basePath": "/api/v1",
"entryFile": "./src/main.ts",
"routesDir": "./src/routes",
"middleware": "express"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment