Closed fizaashraf37 closed 2 years ago
I am first time contributor to this project. I request maintainers to approve running workflow for my PR and allow me to do contribution to this project.
Thanks @fizaashraf37. I think you should now be maintainer of the repo. Maybe you can add this to the develop branch and add some tests
I have also added test cases. But these are failing on Git although these are running without issues locally.
I have fixed this. Had to update the reference file as previous merged PR related to nested schemas was adding examples in schemas in generated file. So reference and generated files were mismatching.
The issue was due to the below line of code in Generator class line 53
self.file = open(destination_path, 'w')
If user does not provides the destination path parameter then it is None and line 46 and 47 set self.destination_path to current directory path if it is None. This line should be as below to fix this.
self.file = open(self.destination_path, 'w')