diff --git a/api-playground/openapi-setup.mdx b/api-playground/openapi-setup.mdx index 6fa7f3431..de396cc57 100644 --- a/api-playground/openapi-setup.mdx +++ b/api-playground/openapi-setup.mdx @@ -208,7 +208,7 @@ Selectively expose endpoints as Model Context Protocol (MCP) tools by using `x-m -```json Selective enablement {6-10, 21} wrap +```json Selective enablement {6-9} wrap { "paths": { "/users": { @@ -233,7 +233,7 @@ Selectively expose endpoints as Model Context Protocol (MCP) tools by using `x-m } ``` -```json Global enablement {3-5, 9-12} wrap +```json Global enablement {3-5, 9-13} wrap { "openapi": "3.1.0", "x-mcp": { @@ -368,7 +368,7 @@ Any page entry matching the format `METHOD /path` will generate an API page for OpenAPI specifications are inherited down the navigation hierarchy. Child navigation elements inherit their parent's OpenAPI specification unless they define their own: -```json {5, 12-13, 18, 20-21} +```json {3, 7-8, 11, 13-14} { "group": "API reference", "openapi": "/path/to/openapi-v1.json", @@ -386,7 +386,7 @@ OpenAPI specifications are inherited down the navigation hierarchy. Child naviga ] } ] -}, +} ``` #### Individual endpoints