Commit baea60b
authored
chore(docs): use renderedFieldDescriptions for single as well as multi requests (#5939)
## Short description of the changes made
Add `renderedFieldDescriptions` prop to single-request `EndpointRequestSection` usage, matching the existing multiple-requests implementation.
## What was the motivation & context behind this PR?
Found inconsistency during migration audit: multiple-request endpoints passed `renderedFieldDescriptions` for form data MDX rendering, but single-request endpoints did not. This meant form data field descriptions (for `file`, `files`, `property` fields) were rendered as plain text instead of MDX for single-request endpoints.
## How has this PR been tested?
- Verified no TypeScript/lint errors
- Confirmed fix matches existing pattern used in multiple-requests case1 parent fbcab30 commit baea60b
File tree
1 file changed
+4
-0
lines changed- packages/fern-docs/bundle/src/components/api-reference/endpoints
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
| |||
0 commit comments