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

[BUG]接口测试-接口定义-API中,json格式请求体重新打开json-schema开关会导致之前保存的描述丢失 #30926

Open
lyons-hz opened this issue May 18, 2024 · 1 comment
Assignees
Labels
暂不支持 现阶段没有计划支持的需求 类型:缺陷 使用过程中出现不符合预期情况

Comments

@lyons-hz
Copy link

联系方式

No response

MeterSphere 版本

v2.10.13-lts

使用外置数据库

问题描述

接口测试-接口定义-API中,json格式请求体,不小心关掉了json-schema开关,重新打开后之前保存的描述丢失

重现步骤

1.在接口测试-接口定义-API中,json格式请求体,打开json-schema开关,添加描述并保存;
2.关掉json-schema开关,并重新打开,之前保存的描述内容丢失;

期待的正确结果

重复打开json-schema开关,不丢失保存的内容

相关日志输出

No response

附加信息

image
@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label May 18, 2024
@youliyuan-fit2cloud youliyuan-fit2cloud added 类型:缺陷 使用过程中出现不符合预期情况 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels May 20, 2024
@youliyuan-fit2cloud youliyuan-fit2cloud added this to the v2.10.16-lts milestone May 20, 2024
@youliyuan-fit2cloud youliyuan-fit2cloud removed this from the v2.10.16-lts milestone May 31, 2024
@youliyuan-fit2cloud
Copy link

你好,经开发同事最后确认,JSON 和 JSON Schema 本身是两种格式,JSON只是 k,v; Schema属于自定义格式相互转后只能保留基础 k,v 了,目前我们还没有解决方案,暂时不解决,感谢理解和支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
暂不支持 现阶段没有计划支持的需求 类型:缺陷 使用过程中出现不符合预期情况
Projects
None yet
Development

No branches or pull requests

2 participants