Api decorators
A lot is automated for us, but still some manual work is necessary.
@ApiBody({ type: LoginDto })export const JwtCookieHeader: ApiResponseOptions['headers'] = {
'Set-Cookie': { description: 'JWT cookie', schema: { type: 'string' } },
};@ApiOkResponse({ headers: JwtCookieHeader })Last updated