Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: schema generation issue on test runner (#4711)
Anwarul Islame967b3361d0f
diff --git a/packages/hoppscotch-common/src/components/http/ResponseInterface.vue b/packages/hoppscotch-common/src/components/http/ResponseInterface.vueindex fc83716c4..fa3b14c1d 100644--- a/packages/hoppscotch-common/src/components/http/ResponseInterface.vue+++ b/packages/hoppscotch-common/src/components/http/ResponseInterface.vue@@ -185,6 +185,11 @@ const response = computed(() => {if (res?.type === "success" || res?.type === "fail") {response = getResponseBodyText(res.body)}+ } else if (doc.type === "test-runner") {+ const res = doc.request?.response+ if (res?.type === "success" || res?.type === "fail") {+ response = getResponseBodyText(res.body)+ }} else {const res = doc.response.bodyresponse = res