src/star-search/dtos/create-star-search.dto.ts
Properties |
| query_text |
Type : string
|
Decorators :
@ApiProperty({description: 'Query text', type: String})
|
import { ApiProperty } from "@nestjs/swagger";
import { IsString } from "class-validator";
export class StarSearchStreamDto {
@ApiProperty({
description: "Query text",
type: String,
})
@IsString()
query_text: string;
}