File

src/profile/dto/create-role.dto.ts

Index

Properties

Properties

newRoleName
Type : string
Decorators :
@ApiProperty({required: true})
@IsString()
import { ApiProperty } from "@nestjs/swagger";
import { IsString } from "class-validator";

export class CreateRoleDto {
  @ApiProperty({ required: true })
  @IsString()
  newRoleName: string;
}

results matching ""

    No results matching ""