Redocly / Redocly/redoc

When there are multiple oneOf in an interface's schema, the oneOf labels displayed by Redoc are incorrect except for the first one.

Open
#2,601 1 comment 0 reactions 0 assignees View on GitHub

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. Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.