Redocly / Redocly/redoc

oneOf 嵌套oneOf, 文档上的oneOf 显示有问题

Open
#2,712 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

嵌套oneOf , 文档上oneOf显示有问题问题,没有按照正确的显示, 例如下面的json

openapi.json

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

Start by opening the attached openapi.json and screenshot, then reproduce the nested oneOf rendering in the Redoc documentation UI. Trace the TypeScript component responsible for displaying nested schemas and compare the result with the supplied example; done means nested oneOf choices are displayed correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
documentation, frontend
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.