tsoa-next / @tsoa-next/runtime / SpecPathGateHandler
Type Alias: SpecPathGateHandler
ts
type SpecPathGateHandler = (context) => boolean | Promise<boolean>;Defined in: packages/runtime/src/decorators/specPath.ts:51
Gate handler used by SpecPath to decide whether a request may receive the spec response.
Parameters
context
Returns
boolean | Promise<boolean>
