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
I understand the rationale behind the way this was generated. The problem is that Brand could be reusable, and in some places it might not be nullable. Is there a workaround this?
The text was updated successfully, but these errors were encountered:
@renke0 I can see the problem. If you pass Brand before Car in the OpenApiGeneratorV3 constructor's array of definitions everything works fine. But if you switch their order or simply do not pass Brand at all then what you've described happens.
I am not sure how easy it would be for us to fix this and when we will have the time for it. In the mean time - you can make sure to pass it in order as a workaround.
Description
I have the following scenario:
Expected result
I expected the property
Car.brand
to be a nullableBrand
Actual result
The spec generated declares
Brand
as nullable, instead of making the propertyCar.brand
nullableMore info
I understand the rationale behind the way this was generated. The problem is that
Brand
could be reusable, and in some places it might not be nullable. Is there a workaround this?The text was updated successfully, but these errors were encountered: