refactor: organize file
This commit is contained in:
parent
e141ea330a
commit
2af4e750b0
19 changed files with 0 additions and 0 deletions
|
|
@ -1,11 +0,0 @@
|
|||
import { Controller, Get, Route, Tags } from "tsoa";
|
||||
import swaggerDocument from "../swagger.json";
|
||||
|
||||
@Route("api")
|
||||
@Tags("OpenAPI")
|
||||
export class APIController extends Controller {
|
||||
@Get("openapi")
|
||||
public getOpenAPI() {
|
||||
return swaggerDocument;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue