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

增加 Cli 以及项目级别配置文件支持 #160

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

AdoKevin
Copy link
Contributor

@AdoKevin AdoKevin commented May 9, 2024

这个pr主要包含两个点:

  1. 当前的使用方式需要由本地的ts-node 执行代码,但实际项目中,经常没有ts-node或者 tsx 这类依赖, 直接支持 cli 配合读取项目的配置文件应该是一个更好的使用方式。
  2. 配置文件中以数组的方式支持同时配置多个 openapi endpoint,满足项目可能同时对接多个服务的场景。

不确定 openapi2ts 这个cli 的命令是否合适,欢迎讨论。

@chenshuai2144 chenshuai2144 merged commit 8fd8876 into chenshuai2144:main Sep 27, 2024
@AdoKevin AdoKevin deleted the cli branch September 27, 2024 09:23
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