Skip to content

Commit

Permalink
fix: swagger output concrete DateLabel type
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Nov 15, 2024
1 parent 3d6e0bc commit 3ed8837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/common/entities/date-label.entity.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ApiProperty } from '@nestjs/swagger';

export class DateLabel {
@ApiProperty()
@ApiProperty({ enum: ['DATE_LABEL'] })
type: string;
@ApiProperty()
timestamp: number;
Expand Down

0 comments on commit 3ed8837

Please sign in to comment.