Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix: 修复get等方法类型标注时,会将header参数放入params 💥 feat: 添加windows的ts测试 #111

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

Lands-1203
Copy link
Contributor

  • 修复get等方法类型标注时,会将header参数放入params
  • 添加windows的ts测试,方便调试
  • 新增devDependencies的 tslib包,是测试时无法ts-node运行报错缺少包
    注:上一次的headr的修复并不完整,这次我将测试用例添加到文件了。以下我会展示之前的问题是什么?↓↓↓↓↓↓

包版本:
image

swgger文件:
image

生成的结果:
image
image

@Lands-1203
Copy link
Contributor Author

关键代码:
image

@Lands-1203
Copy link
Contributor Author

@chenshuai2144 哥,来看看PR呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants