{
  "name": "htpasswd 生成",
  "slug": "htpasswd",
  "description": "在线 htpasswd 密码文件生成工具",
  "api_url": "/api/htpasswd/",
  "ui_url": "/tools/htpasswd/",
  "schema_url": "/tools/htpasswd/schema.json",
  "endpoint": "POST /api/htpasswd/",
  "request_schema": {
    "type": "object",
    "required": [
      "username",
      "password"
    ],
    "properties": {
      "username": {
        "type": "string"
      },
      "password": {
        "type": "string"
      },
      "algo": {
        "type": "string",
        "enum": [
          "md5",
          "sha",
          "crypt"
        ]
      }
    }
  }
}