tsoa-next / tsoa-next / SpecResponseHandler
Type Alias: SpecResponseHandler
ts
type SpecResponseHandler = (context) =>
| SpecResponseValue
| Promise<SpecResponseValue>;Defined in: packages/runtime/src/decorators/specPath.ts:49
Custom handler used by SpecPath to serve spec content.
Parameters
context
Returns
| SpecResponseValue | Promise<SpecResponseValue>
