Describe the bug
I'm getting strange compatibility check:
[error] request property oneOf schema did not overlap with the previous schema.
oneOf/0/property2.items/currency: required property was added,
oneOf/0/property2.items/amount: required property was added
Prevent expanded in request union types
Describe the bug I'm getting strange compatibility check:
To Reproduce Steps to reproduce the behavior:
TestSchema
is oneOf request bodies of a POST requestproperty2
, so the final schema looks likeoptic diff spec.yaml --base main --check
Expected behavior I have added an optional empty list. So no error appears
Screenshots If applicable, add screenshots to help explain your problem.
Details (please complete the following information):