fist commit
This commit is contained in:
parent
44ac172e54
commit
3c64d6b790
24 changed files with 11978 additions and 0 deletions
10
src/controllers/MyController.ts
Normal file
10
src/controllers/MyController.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Controller, Get, Route, Security, Tags } from "tsoa";
|
||||
|
||||
@Route("/hello")
|
||||
@Security("bearerAuth")
|
||||
export class AppController extends Controller {
|
||||
@Get()
|
||||
public async GET() {
|
||||
return { message: "Hello World 1" };
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue