swagger.io icon indicating copy to clipboard operation
swagger.io copied to clipboard

Wrong indentation in 'Inheritance and Polymorphism' example

Open KalinVasilev-at-blankfactor opened this issue 1 year ago • 0 comments

The example under the 'Model Composition' section is 'Inheritance and Polymorphism' has the wrong indentation on this page: https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/

This can be confusing since there is no verbal explanation at what level 'allOf' should be included.

This is what we see: Screenshot 2024-02-16 at 10 54 31

This is what it should look like: Screenshot 2024-02-16 at 10 55 48

Hope this is of help!