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 found that in function Generators/objectMock() we have nothing to process oneOf, anyOf, allOf or not keywords from swagger/openAPI specification. I can provide a relatively naïve implementation for this case, but I have to be sure that @subeeshcbabu is merging pull requests, and didn't abandon the repo.
If you use allOf in your definitions section of the swagger json object, the mock is empty.
This example works fine:
With this json file it produces the following output, which is good and nice:
However with the following json we get an empty object, which is a bug:
The output:
The text was updated successfully, but these errors were encountered: