first commit
This commit is contained in:
parent
c5a1fd4cc4
commit
454cda29e5
27 changed files with 12020 additions and 0 deletions
11
src/controllers/MyController.ts
Normal file
11
src/controllers/MyController.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { Controller, Get, Post, Put, Delete, Patch, Route, Security, Tags } from "tsoa";
|
||||
|
||||
@Route("/hello")
|
||||
@Tags("Test")
|
||||
@Security("bearerAuth")
|
||||
export class AppController extends Controller {
|
||||
@Get()
|
||||
public async GET() {
|
||||
return { message: "Hello Development" };
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue