When there are multiple oneOf in an interface's schema, the oneOf labels displayed by Redoc are incorrect except for the first one.
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25.9k
- Forks
- 2.4k
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 4
Description
When the schema of an API interface contains multiple oneOf, the labels generated by Redoc for oneOf are correct only for the first one, and the names of the other oneOf labels are displayed incorrectly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report provides no file, test, or entry point, so start by reproducing the issue with an interface schema containing multiple oneOf definitions in Redoc. Done means each oneOf label displays the name corresponding to its own schema rather than repeating or mixing labels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100