From b01add42c2242408aa6719b821162484f23c71f9 Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 25 Sep 2024 10:23:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95=E9=BB=98=E8=AE=A4=E4=B8=8D?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1047115 --user=白奇 【接口测试】调试-请求体的json标签下至显示jsonschema格式 https://www.tapd.cn/55049933/s/1585425 --- frontend/src/views/api-test/debug/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/api-test/debug/index.vue b/frontend/src/views/api-test/debug/index.vue index ce6a38df47..9f4a0bbdc2 100644 --- a/frontend/src/views/api-test/debug/index.vue +++ b/frontend/src/views/api-test/debug/index.vue @@ -140,7 +140,15 @@ method: RequestMethods.GET, unSaved: false, headers: [], - body: cloneDeep(defaultBodyParams), + body: { + ...cloneDeep(defaultBodyParams), + jsonBody: { + jsonValue: '', + enableJsonSchema: false, + jsonSchemaTableData: [], + jsonSchemaTableSelectedRowKeys: [], + }, + }, query: [], rest: [], polymorphicName: '',