src/profile/dto/create-role.dto.ts
Properties |
| newRoleName |
Type : string
|
Decorators :
@ApiProperty({required: true})
|
|
Defined in src/profile/dto/create-role.dto.ts:7
|
import { ApiProperty } from "@nestjs/swagger";
import { IsString } from "class-validator";
export class CreateRoleDto {
@ApiProperty({ required: true })
@IsString()
newRoleName: string;
}