Spaces:
Running
Running
Hozifa Elgharbawy
Update SwaggerResponseProperty types in serializers, add summary and description
339fa48
import { SwaggerResponseProperty } from "@lib/decorators/swagger-response-property.decorator"; | |
import { Expose } from "class-transformer"; | |
import { ExerciseSerialization } from "./exercise.serialization"; | |
export class TemplatePopulateSerialization { | |
name: "_id" }) | ({|
type: "string" }) | ({|
id: string; | |
() | |
type: "string" }) | ({|
name: string; | |
() | |
type: "string" }) | ({|
user: string; | |
() | |
type: "Date" }) | ({|
creationDate: Date; | |
() | |
type: [ExerciseSerialization] }) | ({|
exercises: any; | |
} | |