Closed doubleppereira closed 1 year ago
I tried to play a bit with the code but I got to a situation of circular dependency issue on some other cases when resolving allOf refs
Thanks for your feedback, I'll look into it.
Hi guys. Any update on this?
Hey there, just ran into the same problem. Also looking for updates 🙂
@doubleppereira @nbrdx hey this should be fixed in v0.11.0, pls upgrade to latest version and try it again.
msw-auto-mock seems to have Problems with return values based on components/models with nested objects which have
allOf
instead oftype
. This is a standard open-api document and it's being generated bySwashbuckle
See below the schema of thePaymentResultApiResponse
and theresult
prop.Open-API Doc Example below
Output: