You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Example 1 in Models section ExtentionObject3 only have 2 properties. In Example 2 it has 4 properties as expected.
To reproduce...
Paste examples, force refresh page (sometimes it works when page is not force refreshed)
Expected behavior
In both cases ExtentionObject3 should have 4 properties
Screenshots
Example1 :
Example 2:
The text was updated successfully, but these errors were encountered:
aleskovets
changed the title
Order of models in components/schemas leads to the incorrect rendering
Order of models in components/schemas causes incorrect rendering
Oct 1, 2018
Q&A
Content & configuration
In case of deep inheritance ordering of models might lead to incorrect behavior
Example 1. Order: BaseObject, ExtentionObject1, ExtentionObject2, ExtentionObject3
Example Swagger/OpenAPI definition:
Example 2 with reversed order. Order: ExtentionObject3, ExtentionObject2, ExtentionObject1, BaseObject
Example Swagger/OpenAPI definition:
Describe the bug you're encountering
In Example 1 in Models section ExtentionObject3 only have 2 properties. In Example 2 it has 4 properties as expected.
To reproduce...
Paste examples, force refresh page (sometimes it works when page is not force refreshed)
Expected behavior
In both cases ExtentionObject3 should have 4 properties
Screenshots
Example1 :
Example 2:
The text was updated successfully, but these errors were encountered: