openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

fix logic for merging object schemas within a property

Open eli-bl opened this issue 1 year ago • 0 comments

Fixes #1123.

Details are as described in the changeset.

This is a breaking change only in cases where the previous logic was producing an unambiguously wrong result. That is, in the example shown in the changeset, any code that had previously relied on ModelB.result being an instance of BaseResult rather than ExtendedResult would now fail.

eli-bl avatar Nov 05 '24 18:11 eli-bl