[feature] 希望可以在API调试功能增加,从请求or响应内容生成 Typescript 类型
Open
@MegatronKing is already working on this.
Since Aug 19, 2024.
enhancement
p3
- Dominant language
- No language data
- Stars
- 6.8k
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Description
例如:
我有个响应体内容
{
"id": 1450,
"billingTime": "2024-08-02",
"billingStatus": "1"
}
生成类型
interface Result {
id: number;
billingTime: string;
billingStatus: string;
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.