mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-23 22:09:23 +00:00
21 lines
334 B
TypeScript
21 lines
334 B
TypeScript
import { Response, Request } from "express";
|
|
import { RequestHandler } from "../models/RequestHandler";
|
|
|
|
/**
|
|
* Welcome controller
|
|
*
|
|
* @author Pierre HUBERT
|
|
*/
|
|
|
|
export class WelcomeController {
|
|
|
|
/**
|
|
* Display home message
|
|
*/
|
|
public static HomeMessage(req: RequestHandler) {
|
|
req.send({
|
|
name: "Comunic API v2",
|
|
})
|
|
}
|
|
|
|
} |