From 70944fc474676a42e3134e2fb81041dea0948fba Mon Sep 17 00:00:00 2001 From: Ghoster <18916263+ghostker@users.noreply.github.com> Date: Fri, 17 Jan 2025 17:48:48 +0800 Subject: [PATCH] fix(swagger): correct typo from 'text/plan' to 'text/plain' (#4263) --- packages/swagger/src/swaggerExplorer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/swagger/src/swaggerExplorer.ts b/packages/swagger/src/swaggerExplorer.ts index 41e37bb1b29..1a1f1cc3649 100644 --- a/packages/swagger/src/swaggerExplorer.ts +++ b/packages/swagger/src/swaggerExplorer.ts @@ -679,7 +679,7 @@ export class SwaggerExplorer { } } else { tt.content = { - 'text/plan': { + 'text/plain': { schema: { type: convertSchemaType(tt.type), },