From 9941283ff075bf6875ee1c5106e6d588262b51f8 Mon Sep 17 00:00:00 2001 From: Smyile <84925446+xsmyile@users.noreply.github.com> Date: Tue, 16 Jun 2026 13:14:02 +0200 Subject: [PATCH] docs: hide non-functional Try it out button from API reference The prior showTryButton key is not valid in vitepress-openapi 0.1.19 so it was ignored. The playground targets localhost:8025, which is mixed-content blocked from the hosted docs and CORS-blocked locally. --- docs/.vitepress/theme/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index f706f19..1f4a377 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -13,7 +13,9 @@ export default { spec, config: { schemaDefaultView: "schema", - showTryButton: false, + operation: { + hiddenSlots: ["playground"], + }, }, }); theme.enhanceApp({ app });