Bug reportNov 18, 2026· 0:24· 19 views
Redoc 3.x JSON sample: object keys and string values render in the same color
0:24 total
Comments · 0
Be the first to comment.
Bug reportby SceneRecap AI
lowJSON sample syntax highlighting theme (token colors for property keys vs string values) in the Response samples panel
os: macOSdpr: 1page: /redoc/products/listmenuitemslocale: en-USbrowser: Chromium 151.0.7922.34timezone: Europe/Berlinviewport: 1280x720page_title: ReDoc Interactive Demo
Repro steps
- 1.Open /redoc/products/listmenuitems in the ReDoc Interactive Demo. The 'List all menu items' operation loads.
- 2.Scroll down past the Query parameters (filter, search, limit).
- 3.Stop at the Responses section with the 200 tab selected. Look at the application/json Response sample in the right panel.
Expected
In the JSON response sample, object keys (for example "object", "page", "nextPage") use a different color from string values (for example "list", "string"). This makes keys easy to tell apart from values.
Actual
Object keys such as "object" and "nextPage" render in the same blue as string values such as "list" and "string". Keys and values are hard to tell apart. This persists from 13s to 23s.
Evidence
visualThe Response sample (200, application/json, 'beverage' example) shows "object": "list" and "nextPage": "string". Keys and string values are in the same blue color.
visualThe same coloring is still shown with no interaction. The keys "previousPage" and "items" match the color of string values.
networkGET /redoc/products/listmenuitems returned 404 on full page load. The docs still rendered. This is probably unrelated to the color issue.
consoleConsole error: 'Failed to load resource: the server responded with a status of 404 ()'.
Issue markdown (copy-paste ready)
## Summary
In the Redoc 3.x interactive demo, the Response JSON sample renders object keys and string values in the same blue color. Keys are hard to distinguish from values.
## Environment
- Browser: Chromium 151.0.7922.34
- OS: macOS
- Viewport: 1280x720, DPR 1
- Locale: en-US, timezone Europe/Berlin
- Page: /redoc/products/listmenuitems ('ReDoc Interactive Demo')
## Steps to reproduce
1. Open /redoc/products/listmenuitems (0s).
2. Scroll down past the Query parameters (9.4s).
3. In the Responses section with 200 selected, look at the application/json Response sample in the right panel (13s).
## Expected
Object keys ("object", "page", "nextPage") use a distinct color from string values ("list", "string").
## Actual
Keys and string values share the same blue color (13s to 23s).
## Evidence
- 13s: The sample shows `"object": "list"` and `"nextPage": "string"` with keys and values in identical blue.
- 23s: The same rendering persists.
- 0s: GET /redoc/products/listmenuitems returned 404 on full page load, with console error 'Failed to load resource: the server responded with a status of 404 ()'. The page still rendered. This is likely unrelated.
## Suggested area
Syntax highlighting token colors for JSON property keys vs string values in the samples panel.
*Recorded with SceneRecap.*Your recordings could explain themselves too.
Free plan · silent recordings welcome · bug reports included.
Try SceneRecap free →