Skip to main content
Glama
get-docs.dto.ts582 B
import { IsOptional, IsString, IsNumber, Min, Max } from 'class-validator'; import { Type } from 'class-transformer'; import { ApiProperty } from '@nestjs/swagger'; export class GetDocsDto { @ApiProperty({ example: 'react', required: false }) @IsOptional() @IsString() topic?: string; @ApiProperty({ example: 1, required: false }) @IsOptional() @Type(() => Number) @IsNumber() @Min(1) @Max(10) page?: number = 1; @ApiProperty({ example: 'code', enum: ['code', 'info'], required: false }) @IsOptional() @IsString() mode?: 'code' | 'info' = 'code'; }

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/aiatamai/atamai-mcp'

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