From 07afa8fba6ea2f099303078ba135a2124094fa2e Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 2 Oct 2024 10:27:21 +0300 Subject: [PATCH] docs: fix how api reference shows any type (#9340) --- .../components/Tags/Operation/Parameters/Description/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/api-reference/components/Tags/Operation/Parameters/Description/index.tsx b/www/apps/api-reference/components/Tags/Operation/Parameters/Description/index.tsx index 3111a5798c..3c3a8d2cae 100644 --- a/www/apps/api-reference/components/Tags/Operation/Parameters/Description/index.tsx +++ b/www/apps/api-reference/components/Tags/Operation/Parameters/Description/index.tsx @@ -62,7 +62,7 @@ const TagOperationParametersDescription = ({ default: typeDescription = ( <> - {schema.type} + {!schema.type ? "any" : schema.type} {schema.nullable ? ` or null` : ""} {schema.format ? ` <${schema.format}>` : ""}