Stainless:基于 OpenAPI spec 生成API SDK(Python、Nodejs等)
Stainless 正在为高质量、易于使用的应用程序接口搭建平台
介绍
- 基于 OpenAPI spec Generate best-in-class SDKs
- 开发人员希望自动为他们的代码 API 提供类型安全的客户端库
- 使用 Stainless,就可以实现该功能,让开发人员专注于构建 API 的同时交付惯用的 sdk
- 支持多种语言:Python、go、rust 等
- 每个用户可以生成一个免费的代码
- 使用者包括
- OpenAI
- pyopenwebui for https://ai.80.xyz/api/v1/docs (改变 info.title = pyopenwebui)
操作步骤
- 下载 https://ai.80.xyz/openapi.json
- 提交 openapi.json 到 https://github.com/stainless-sdks/pyopenwebui-config
- 如果有错误的话,在 https://app.stainless.com/x/pyopenwebui/studio?language=python 中点击
Guess with AI尝试自动修复,Regenerate Full Config重新生成openapi.stainless.yml
- 如果有错误的话,在 https://app.stainless.com/x/pyopenwebui/studio?language=python 中点击
client_settings:
opts:
bearer_token:
type: string
nullable: false
auth:
security_scheme: HTTPBearer
description: ""
read_env: PYOPENWEBUI_BEARER_TOKEN