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

👑 [需求]自动学习api接口信息,完成对该api接口的自动化 #31

Open
yuruotong1 opened this issue Jul 13, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@yuruotong1
Copy link
Owner

rt

@yuruotong1 yuruotong1 added the enhancement New feature or request label Jul 13, 2024
@phil616
Copy link

phil616 commented Jul 14, 2024

如果API符合某个规范,可以直接调用规范提出者提供的生成器,以FastAPI为例,app启动参数提供了一个生成符合OpenAPI规范的域以生成端点ID,可以用来生成TS客户端代码,一般都包含在文档的SDK中,只要把常见平台的SDK文档包含到项目里就可以实现自动学习API的接口信息。

@yuruotong1
Copy link
Owner Author

如果API符合某个规范,可以直接调用规范提出者提供的生成器,以FastAPI为例,app启动参数提供了一个生成符合OpenAPI规范的域以生成端点ID,可以用来生成TS客户端代码,一般都包含在文档的SDK中,只要把常见平台的SDK文档包含到项目里就可以实现自动学习API的接口信息。

有办法集成到咱们的项目中吗?

@phil616
Copy link

phil616 commented Jul 14, 2024

FastAPI毕竟只是单一应用,各个厂家采用的标准不同,集成到该项目里面需要项目开发者团队尽可能多的去主动适配模型提供商提供的SDK及相关规范,目前团队规模无力逐个适配,建议先搁置

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

No branches or pull requests

2 participants