From 18cb4c7616383fafbc676e7b4803c37d69737d00 Mon Sep 17 00:00:00 2001 From: Shir Goldberg <3937986+shirgoldbird@users.noreply.github.com> Date: Tue, 21 Apr 2026 12:53:00 -0400 Subject: [PATCH] Show only required params in API playground examples Set api.examples.defaults to "required" so the Mintlify playground only includes required parameters (text, target_lang) in generated curl snippets instead of pre-populating every optional field. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs.json b/docs.json index a6debbe..33be7e7 100644 --- a/docs.json +++ b/docs.json @@ -303,7 +303,8 @@ }, "api": { "examples": { - "languages": ["curl"] + "languages": ["curl"], + "defaults": "required" }, "playground": { "proxy": false