ollita7/kiwi

Swagger: array types are not included in the documentation

Closed this issue · 0 comments

When a type contains a typed-array, it isn't included in the documentation:

export class TimesheetEntry {
  @IsInt() projectId: number;
  @IsDate() date: Date;
  @IsInt() hours?: number;
}

export class TimesheetEntries {
  @IsArray() entries: TimesheetEntry[];
}

image