Bug reportAug 30, 2026· 0:23· 12 views
Redoc: array query parameter default with explode:true shows mangled '¶mName=' fragment
0:23 total
Comments · 0
Be the first to comment.
Bug report— by SceneRecap AI
mediumquery parameter schema default rendering / explode serializer
os: macOSbrowser: Chromium 151.0.7922.34viewport: 1280x720
Repro steps
- 1.Open Redoc interactive demo.
- 2.Upload an OpenAPI spec containing an array query parameter with default array values and explode: true (e.g., Array Default Test).
- 3.Inspect the 'animals' query parameter under GET /species.
Expected
The array query parameter default value should display as structured array items or formatted default values (e.g., ["Cat", "Dog"]).
Actual
The default value renders as a mangled query string fragment: 'Default: "Cat&animals=Dog"'.
Evidence
visualUnder 'GET /species' query parameter 'animals', 'Default:' renders as '"Cat&animals=Dog"' instead of displaying the default array values.
visualCursor highlights the incorrect 'Default: "Cat&animals=Dog"' token within the parameter description block.
Issue markdown (copy-paste ready)
### Summary When an OpenAPI spec defines an array query parameter with default array items and `explode: true`, Redoc renders the default value as a raw/mangled query string fragment (`"Cat&animals=Dog"`) instead of formatted array values. ### Repro Steps 1. Open Redoc interactive documentation. 2. Load an OpenAPI specification defining an array query parameter (e.g., `animals`) with `explode: true` and default values `["Cat", "Dog"]`. 3. Navigate to the endpoint documentation (e.g., `GET /species`) and inspect the Query Parameters section. ### Expected Behavior The default value should render cleanly as an array or list of default items (e.g., `["Cat", "Dog"]`). ### Actual Behavior The default field displays `Default: "Cat&animals=Dog"` due to query parameter serialization being directly output as a string literal. *Recorded with SceneRecap.*
Your recordings could explain themselves too.
Free plan · silent recordings welcome · bug reports included.
Try SceneRecap free →