References
config
| summary | ||
| public |
V swaggerSpec: * |
|
controllers
| summary | ||
| public |
F async getHealth(req: *, res: *) Health controller entry function |
|
| public |
F async addUser(req: *, res: *) Function which provides functionality to add/create new user in system |
|
| public |
F async getUser(req: *, res: *) Function which provides functionality to retrieve specific user based on provided userId |
|
| public |
F async getUsers(req: *, res: *) Function which provides functionality to retrieve all users present in system |
|
middlewares
| summary | ||
| public |
F async errorhandler(err: *, req: *, res: *, next: *): * |
|
| public |
F async notfounderror(req: *, res: *, next: *) |
|
| public |
F responsehandler(body: *) Generic success response handler |
|
| public |
F async validatejson(err: *, req: *, res: *, next: *): * |
|
models
routes
| summary | ||
| public |
V router: * |
|
services
utils
| summary | ||
| public |
F async generateSpecs() |
|
| public |
F async gracefulShutdown(server: *) |
|
validations
| summary | ||
| public |
V addUserSchema: {"type": string, "properties": *, "required": *, "additionalProperties": *} |
|
