We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
export class AuthController extends Controller { public before () { if (!this.hasHeader("x-auth-token")) { return this.httpBadRequest(); } } }
@Api export class MyApiController extends AuthController { @HttpGet("/users/:id") public get () { return this.httpOk(); } }