Listory/src/auth/dto/create-api-token-request.dto.ts
Julian Tölle 8f7eebb806 feat(api): API tokens for authentication
Create and managed simple API tokens for access to the API from external
tools.
2023-02-19 16:19:40 +01:00

9 lines
236 B
TypeScript

import { ApiProperty } from "@nestjs/swagger";
export class CreateApiTokenRequestDto {
@ApiProperty({
description: "Opaque text field to identify the API token",
example: "My super duper token",
})
description: string;
}