Skip to main content
Glama
update-todo.dto.ts406 B
import { ApiProperty, PartialType } from '@nestjs/swagger'; import { IsBoolean, IsOptional } from 'class-validator'; import { CreateTodoDto } from './create-todo.dto'; export class UpdateTodoDto extends PartialType(CreateTodoDto) { @ApiProperty({ description: 'Whether the TODO item is completed', required: false, example: true, }) @IsBoolean() @IsOptional() completed?: boolean; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/javascripto/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server