Skip to content

Commit 1cb6eab

Browse files
authored
Fix code sample highlighting (#1033)
* fix code sample highlighting * update sample highlighting
1 parent 7b84148 commit 1cb6eab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api-playground/openapi-setup.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Selectively expose endpoints as Model Context Protocol (MCP) tools by using `x-m
208208
</ResponseField>
209209

210210
<CodeGroup>
211-
```json Selective enablement {6-10, 21} wrap
211+
```json Selective enablement {6-9} wrap
212212
{
213213
"paths": {
214214
"/users": {
@@ -233,7 +233,7 @@ Selectively expose endpoints as Model Context Protocol (MCP) tools by using `x-m
233233
}
234234
```
235235

236-
```json Global enablement {3-5, 9-12} wrap
236+
```json Global enablement {3-5, 9-13} wrap
237237
{
238238
"openapi": "3.1.0",
239239
"x-mcp": {
@@ -368,7 +368,7 @@ Any page entry matching the format `METHOD /path` will generate an API page for
368368

369369
OpenAPI specifications are inherited down the navigation hierarchy. Child navigation elements inherit their parent's OpenAPI specification unless they define their own:
370370

371-
```json {5, 12-13, 18, 20-21}
371+
```json {3, 7-8, 11, 13-14}
372372
{
373373
"group": "API reference",
374374
"openapi": "/path/to/openapi-v1.json",
@@ -386,7 +386,7 @@ OpenAPI specifications are inherited down the navigation hierarchy. Child naviga
386386
]
387387
}
388388
]
389-
},
389+
}
390390
```
391391

392392
#### Individual endpoints

0 commit comments

Comments
 (0)