Property get's rendered twice when using `allOf` with `discriminator`
Author: cotris-jsCreated Aug 10, 2026Updated Aug 10, 2026
Labelsbugpackage: @scalar/api-referenceschema
What happens?
With #9771 the recursive rendering got solved. But now it renders formatVersion a second time outside of the one of block.
Another visual bug: when the 'oneOf' is directly on the body level the spacing does not look correct.
see: https://sandbox.scalar.com/e/JJGQB
What did you expect to happen?
No formatVersion outside of the oneOf block rendered.
OpenAPI Document
Source: scalar/scalar