tsoa-custom-decorators
Version:
Build swagger-compliant REST APIs using TypeScript and Node
36 lines (35 loc) • 1.09 kB
JSON
{
"swagger": {
"outputDirectory": "./dist",
"entryFile": "./tests/fixtures/express/server.ts",
"host": "localhost:3000",
"version": "1.0",
"name": "tsoa app",
"description": "a description",
"license": "MIT",
"basePath": "/v1",
"spec": {
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "header"
},
"tsoa_auth": {
"type": "oauth2",
"authorizationUrl": "http://swagger.io/api/oauth/dialog",
"flow": "implicit",
"scopes": {
"write:pets": "modify things",
"read:pets": "read things"
}
}
}
},
"routes": {
"basePath": "/v1",
"entryFile": "./tests/fixtures/inversify/server.ts",
"routesDir": "./tests/fixtures/inversify",
"middleware": "express",
"iocModule": "./tests/fixtures/inversify/ioc.ts"
}
}