From bab3b6bb33afee55ed5f8c6ab61ed02b275a8e24 Mon Sep 17 00:00:00 2001 From: Pham Tuan Date: Tue, 17 Sep 2024 14:48:44 +0700 Subject: [PATCH] Fix change type of Show optional parameters button To avoid submitting form test api --- .../src/theme/ApiExplorer/ParamOptions/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ParamOptions/index.tsx b/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ParamOptions/index.tsx index 5ee5378a9..cfed7cb42 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ParamOptions/index.tsx +++ b/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ParamOptions/index.tsx @@ -80,6 +80,7 @@ function ParamOptions() { {optionalParams.length > 0 && ( <>