UNPKG
tsoa-custom-decorators
Version:
latest (1.1.10-custom-decorators)
1.1.10-custom-decorators
1.1.9-custom-decorators
1.1.8-custom-decorators
Build swagger-compliant REST APIs using TypeScript and Node
github.com/lukeautry/tsoa
lukeautry/tsoa
tsoa-custom-decorators
/
src
/
decorators
/
security.ts
7 lines
(6 loc)
•
165 B
text/typescript
View Raw
1
2
3
4
5
6
7
/** *
@param
{name} security name from securityDefinitions */
export
function
Security
(
name:
string
, scopes?:
string
[]
):
any
{
return
() => {
return
; }; }