根据端点规范与 Zod schema 自动生成接口文档。
{
"take": {
"default": 10,
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
}{
"email": {
"type": "string",
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"name": {
"type": "string",
"minLength": 1
}
}