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

OpenAPI Schema导入integer 类型不能自动转为数字 #1310

Closed
6 of 7 tasks
mwnu opened this issue Apr 27, 2024 · 2 comments · Fixed by #1439
Closed
6 of 7 tasks

OpenAPI Schema导入integer 类型不能自动转为数字 #1310

mwnu opened this issue Apr 27, 2024 · 2 comments · Fixed by #1439
Labels
bug Something isn't working

Comments

@mwnu
Copy link

mwnu commented Apr 27, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号: V4.8-preview2

问题描述
OpenAPI 规范中整数类型的参数一般表示为integer,但导入到fastgpt后并不会被标识为数字
另外数组也没有标识
复现步骤

预期结果

相关截图

@mwnu mwnu added the bug Something isn't working label Apr 27, 2024
@mwnu
Copy link
Author

mwnu commented Apr 27, 2024

另外,http插件如果从Schema导入的,编辑其中action的模块参数是不会同步更新到schema上的,因此如果不幸修改的插件(例如改名),手动编辑的模块会被覆盖掉。
为了避免这一点,只能在action中手动导出备份,一个http插件里面可能会友多个action,这样略显麻烦。

@c121914yu
Copy link
Collaborator

schema导入是单向的,肯定不会有同步操作,而且schema导入的插件不应该进行编辑。
整数类型 @newfish-cmyk 看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants