import { ApiProperty } from "@nestjs/swagger"
import { IsString, IsNotEmpty } from "class-validator"

export class RefreshTokenDto {
  @ApiProperty({
    description: "Refresh token to get new access token",
    example:
      "abc123def456ghi789jkl012mno345pqr678stu901vwx234yzab567cde890fgh123ijk456lmn789opq012rst345uvw678xyz901",
  })
  @IsString()
  @IsNotEmpty()
  refresh_token: string
}
