-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Description
RapiDoc currently generates every possible combination of examples.
Unfortunately, this means if you have an object with 10 fields, each with two examples, you get 1024 examples.
And, if you have a route that returns a left object and a right object of those, then you have 1M examples, crashing the browser.
So, why not just stick to one example?
I'd love to, but RapiDoc auto-generates two examples for every oneOf element that I have.
Maybe the default behavior (or at least an optional behavior) could be to only generate examples for the first choice of any oneOf element?
Metadata
Metadata
Assignees
Labels
No labels