From 3de68c902ecc068ecd269d3c3376db55ca73f852 Mon Sep 17 00:00:00 2001 From: Sandeep Dinesh Date: Thu, 13 Nov 2025 20:19:54 -0800 Subject: [PATCH] remove x-fern-explorer-enabled from docs --- .../api-def/openapi-pages/extensions/explorer.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fern/products/api-def/openapi-pages/extensions/explorer.mdx b/fern/products/api-def/openapi-pages/extensions/explorer.mdx index e081d065a..efe648cf6 100644 --- a/fern/products/api-def/openapi-pages/extensions/explorer.mdx +++ b/fern/products/api-def/openapi-pages/extensions/explorer.mdx @@ -1,9 +1,9 @@ --- title: API Explorer control -description: Enable or disable the API Explorer using `x-fern-explorer` and `x-fern-explorer-enabled` +description: Enable or disable the API Explorer using `x-fern-explorer` --- -The [API Explorer](/learn/docs/api-references/api-explorer/overview) is enabled by default for all endpoints. Use `x-fern-explorer` to disable it globally, or `x-fern-explorer-enabled` to control it per operation. This is commonly used to disable the Explorer for destructive operations, payment processing, or admin-only endpoints. +The [API Explorer](/learn/docs/api-references/api-explorer/overview) is enabled by default for all endpoints. Use `x-fern-explorer` to disable or it globally or to override it per operation. This is commonly used to disable the Explorer for destructive operations, payment processing, or admin-only endpoints. ## Global @@ -23,16 +23,16 @@ paths: ## Endpoint -To control the API Explorer for individual endpoints, use `x-fern-explorer-enabled`: +To control the API Explorer for individual endpoints, use `x-fern-explorer`: ```yaml title="openapi.yml" {4,9} paths: /payments: get: - x-fern-explorer-enabled: true # Enable Explorer for safe read operation + x-fern-explorer: true # Enable Explorer for safe read operation /payments/charge: post: - x-fern-explorer-enabled: false # Disable to prevent accidental transactions + x-fern-explorer: false # Disable to prevent accidental transactions ``` ## Combining global and endpoint-level settings @@ -49,7 +49,7 @@ paths: /payments: get: operationId: list_payments - x-fern-explorer-enabled: true # Enable Explorer for safe read operation + x-fern-explorer: true # Enable Explorer for safe read operation /payments/charge: post: operationId: charge_payment