Closed remkoboschker closed 5 years ago
Can you confirm this is a bug? I would be willing to submit a PR.
Yes, it is a bug, because we're collecting dependencies from oneOf, but not using it in any other way in the generation. I'm changing the title accordingly.
I updated to release 0.5.0 but the issue persists.
We have an openapi file
ng-openapi-gen generates the following model for
Module
:The typescript compiler will nog compile because
Submodule1
andSubmodule2
are imported but not used.Is this the intended behaviour?