diff --git a/api-test/backend/src/main/java/io/metersphere/service/ShareInfoService.java b/api-test/backend/src/main/java/io/metersphere/service/ShareInfoService.java
index 949f08c8a1..2a00708dda 100644
--- a/api-test/backend/src/main/java/io/metersphere/service/ShareInfoService.java
+++ b/api-test/backend/src/main/java/io/metersphere/service/ShareInfoService.java
@@ -384,7 +384,12 @@ public class ShareInfoService extends BaseShareInfoService {
} else {
apiInfoDTO.setResponseBodyParamType(type);
}
- if (StringUtils.equalsAny(type, "JSON", "XML", "Raw")) {
+ if (StringUtils.equalsIgnoreCase(type, "Raw")) {
+ if (bodyObj.has("raw")) {
+ String raw = bodyObj.get("raw").asText();
+ apiInfoDTO.setResponseBodyStructureData(raw);
+ }
+ } else if (StringUtils.equalsAny(type, "JSON", "XML")) {
//判断是否是JsonSchema
boolean isJsonSchema = false;
diff --git a/api-test/frontend/src/business/definition/components/document/components/ApiInformation.vue b/api-test/frontend/src/business/definition/components/document/components/ApiInformation.vue
index d5eb3edfea..5009e093ba 100644
--- a/api-test/frontend/src/business/definition/components/document/components/ApiInformation.vue
+++ b/api-test/frontend/src/business/definition/components/document/components/ApiInformation.vue
@@ -4,7 +4,7 @@
{{ shareUrl }}