New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Nested objects with allOf
are being generated as null
#11
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 by
Swashbuckle
See below the schema of the
PaymentResultApiResponse
and theresult
prop.Open-API Doc Example below
Output:
The text was updated successfully, but these errors were encountered: