GET
tool-case
公开接口 累计 1 次/api/v1/tool-case
camel / snake / kebab / 常量等命名互转
/api/v1/tool-case
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
text |
string |
必填 | - | 原始命名或短语 |
style |
string |
可选 | snake |
目标风格 |
{
"ok": true,
"data": {
"result": {
"style": "snake",
"result": "user_profile_id",
"words": [
"user",
"profile",
"id"
]
}
}
}
curl -X GET '/api/v1/tool-case?style=snake'