-
Notifications
You must be signed in to change notification settings - Fork 59.9k
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
[Feature Request] GPTs插件导入增加对Apifox API Hub 导出的openapi.json支持 以实现GPTs插件对现有数百个开放平台的API支持 #5525
Comments
Title: [Feature Request] GPTs plug-in import adds support for openapi.json exported by Apifox API Hub to realize GPTs plug-in’s API support for hundreds of existing open platforms 🥰 Feature DescriptionIf the GPTs plug-in import can support universal openapi.json, then hundreds of open platform APIs can be imported as GPTs plug-ins through the openapi.json exported by Apifox API Hub. And interfaces written through GO, .NET, Java + swagger-ui can also be directly imported into GPTs and used directly! However, at present, when directly importing the open api call of Apifox API Hub, an error occurs. Requirements list:
🧐 Proposed Solution📝 Additional Information |
以下是一个可用的 GPTs openapi.json 其与apifox API Hub 导出 的json多了俩字段 增加以下俩字段后即可直接将apifox API Hub上的接口直接导入为 插件
|
主要是缺少 可以考虑,缺少这个字段的时候,尝试使用 |
The main reason is the lack of the It can be considered that when this field is missing, try to use |
在 #5547 处理了一下:
|
Fixed it in #5547:
|
🥰 Feature Description
如果GPTs插件导入可以支持通用openapi.json ,那么就可以通过Apifox API Hub 导出的
openapi.json
实现将现有的数百个开放平台的API导入为GPTs插件。并且通过 GO、.NET、Java + swagger-ui 写的接口也能直接导入为GPTs直接使用!但是目前直接导入Apifox API Hub 的开放api 调用是报错的。需求清单:
openapi.json
支持 以实现GPTs插件对现有数百个开放平台的API支持。swagger注解
@Api(tags = "xxxx管理")
对Controller进行注释。导入的openapi.json
如果有多个tag需要根据tag标签对接口进行自动分组、并可手动进行分组划分每个导入为一个插件、每个分组为一个Agent,一个Agent 即包含一组接口调用
@Agents
功能 : 使用@唤起 Agents列表 展示Icon 头像 Title 名称 subTitle 描述选中
Agents
后 仅下一次请求使用其角色预设设置、并使其包含的所有接口附加到当前tools 列表(覆盖当前应用),以实现Agents的组合使用、不使用@Agents
时 默认使用当前Agents的默认设置🧐 Proposed Solution
📝 Additional Information
The text was updated successfully, but these errors were encountered: