Missing data with allOf
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25.9k
- Forks
- 2.4k
- Avg merge
- 13h 10m
- Merged PRs (30d)
- 4
Description
Hello,
I have multiple reference with allOf and on my last definition, I have the data on the right part but not on the left part.
Ex :
components:
schemas:
schema1:
// My data1
schema2:
allOf:
- $ref: '#/components/schemas/schema1'
- // My additional data 1
schema3:
allOf:
- $ref: '#/components/schemas/schema2'
- // My additional data 2
When I go to schema3, I see My data, My additional data 1, My additional data 2 on the right part but on the left part only My data and My additional data 1.
Where is My additional data 2 ? I don't know
I use redoc v2.0.0-alpha.25, I've tried with rc.0 and I have the same issue.
Do you have any idea ?
Thanks
And happy new year ! 🎉
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
Start by reproducing the supplied schema1/schema2/schema3 allOf example in Redoc and compare the left and right representations for schema3. Trace the schema rendering entry point responsible for nested allOf data; done means the final additional data appears consistently in both views.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100