Redocly / redoc

📘 OpenAPI/Swagger-generated API Reference Documentation
https://redocly.github.io/redoc/
MIT License
23.35k stars 2.29k forks source link

Allow showing SchemaDefinition as child #2533

Open DuckyC opened 5 months ago

DuckyC commented 5 months ago

What/Why/How?

When using SchemaDefinition to show a ref that is a child of an object with discriminator, sometimes you want to show that exact child, and not the parent.

Reference

Tests

Screenshots (optional)

Check yourself

DuckyC commented 5 months ago

Would love some guidance on how a test could be added to this 🙏