Open morozovamv opened 4 years ago
Could you provide the spec?
the spec that I used for tests
our project spec: swagger.zip
This is very annoying. @raveclassic do you happen to know how difficult to fix this?
Quickfix - just disable linting on the generated code.
We have the same issue. Vote for the fix! :)
Generally, generated code is not expected to be linted, neither adhere any codestyle. The only option available at the moment is a prettier config for formatting the code. Personally I do agree unused imports should be removed, but at the same time I don't get why this is a problem for the end project which should (and it really should) just disable linting of the generated code. We'd gladly review any PRs facing this issue, but at the moment we consider this as a low priority improvement.
Sounds reasonable :)
After starting
generate
I receive an error in generated controllers. The error isgenerate
function is same astest1
in testsLibs:
System: win10
Also, I checked tests here and got the same result.
STR: