Compare these files in the samples directory:
vs
Master branch
Could not find reference to withInterfaces parameter in the mustache templates, and no difference in the generated api.
Option should be removed from documentation or re-implemented for typescript-fetch
https://openapi-generator.tech/docs/generators/typescript-fetch
馃憤 Thanks for opening this issue!
馃彿 I have applied any labels matching special text in your issue.
The team will review the labels and make any necessary changes.
cc @TiFu are the interfaces necessary? classes can also be used as interfaces...
classes can also be used as interfaces...
Is that the recommended guidance outside the Angular style guide? I've found at least one dissenter: https://www.stevefenton.co.uk/2017/11/typescript-using-classes-interfaces/
are the interfaces necessary?
Even if not, the tooling not providing them when it used to should be a breaking change at least.
I agree that a class which contains logic either in the constructor or in some methods should not be used as an interface. However, for generated model-interfaces I think this is not a problem.
Yes, the refactoring caused some breaking changes, this should have been avoided.
I was not concerned with the models; but with the interfaces for api clients themselves. They used to have interfaces too and are arguably the more valuable piece that was lost.
We're also kind of stuck with the missing interfaces. We were using them to mock the Apis for testing purposes.
Most helpful comment
We're also kind of stuck with the missing interfaces. We were using them to mock the Apis for testing purposes.