axetroy / axetroy/swagger2ts

在有多个路径参数时,缺少参数分隔的','

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
26
Forks
2
PR merge metrics
No merged PRs in 30d

Description

这是生成的
```
post(url: '/wx-user/login', options?: SwaggerOptions<{}, {code: unknownminiappId: unknown}, {}, unknown>): Promise
````
应该时这样的
```
post(url: '/wx-user/login', options?: SwaggerOptions<{}, {code: unknown,miniappId: unknown}, {}, unknown>): Promise
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the generated TypeScript signature shown in the issue and trace the Swagger-to-TypeScript generation entry point that formats multiple path parameters. Check existing generator tests for parameter-list output, then verify that the generated signature includes a comma between code and miniappId without changing unrelated formatting.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.