Open zimmyg opened 4 years ago
I'm having this exact problem, does anybody know a workaround?
This is weird. It used to work correctly. Still works correctly for the Petstore case. We'll take a look.
cc @AlexVarchuk
Hi Roman, this extension worked for me. https://redocly.com/docs/redoc/redoc-vendor-extensions/#x-explicitmappingonly
But, when I thought I had everything sorted. I stumbled across another bug =/ https://github.com/Redocly/redoc/issues/1031
When defining a schema for a request body that uses oneOf and a discriminator with a mapping, the dropdowns show the option for the base item as well, which is incorrect and should not be defined as an option.
Simplified Example: