#nestjs swagger ApiPropertyOptional option
1 messages · Page 1 of 1 (latest)
and i want to show query parameter example case in gray color(just show up example, not put in there)
1 messages · Page 1 of 1 (latest)
hi
i want to hide this variable in my swagger. but it show!
how can i hide it?
@ApiPropertyOptional({
type: [ListAnnotationResponseItem],
})
@Type(() => ListAnnotationResponseItem)
@IsUrl()
@IsOptional()
@Expose()
annotations?: ListAnnotationResponseItem[];
swagger response
and i want to show query parameter example case in gray color(just show up example, not put in there)