Preparing search index...
The search index is not available
tsoa
tsoa
@tsoa/runtime
KoaTemplateService
Class KoaTemplateService
Hierarchy (
view full
)
TemplateService
<
KoaApiHandlerParameters
,
KoaValidationArgsParameters
,
KoaReturnHandlerParameters
>
KoaTemplateService
Index
Constructors
constructor
Properties
config
models
validation
Service
Methods
api
Handler
build
Promise
get
Validated
Args
is
Controller
return
Handler
Constructors
constructor
new
Koa
Template
Service
(
models
,
config
)
:
KoaTemplateService
Parameters
models
:
TsoaRoute
.
Models
config
:
AdditionalProps
Returns
KoaTemplateService
Properties
Protected
Readonly
config
config
:
AdditionalProps
Protected
Readonly
models
models
:
TsoaRoute
.
Models
Protected
validation
Service
validation
Service
:
ValidationService
Methods
api
Handler
api
Handler
(
params
)
:
Promise
<
any
>
Parameters
params
:
KoaApiHandlerParameters
Returns
Promise
<
any
>
Protected
build
Promise
build
Promise
(
methodName
,
controller
,
validatedArgs
)
:
any
Parameters
methodName
:
string
controller
:
Object
|
Controller
validatedArgs
:
any
Returns
any
get
Validated
Args
get
Validated
Args
(
params
)
:
any
[]
Parameters
params
:
KoaValidationArgsParameters
Returns
any
[]
Protected
is
Controller
is
Controller
(
object
)
:
object
is
Controller
Parameters
object
:
Object
|
Controller
Returns
object
is
Controller
Protected
return
Handler
return
Handler
(
params
)
:
undefined
|
Promise
<
any
>
|
Context
Parameters
params
:
KoaReturnHandlerParameters
Returns
undefined
|
Promise
<
any
>
|
Context
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
config
models
validation
Service
api
Handler
build
Promise
get
Validated
Args
is
Controller
return
Handler
tsoa
Loading...
Generated using
TypeDoc