cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
397 stars 132 forks source link

Use config-provided module name in module template #25

Closed eJuke closed 5 years ago

eJuke commented 5 years ago

In case user overrides module option in config file, he or she generates incorrect module file because it refers to default module name (ApiModule), that doesn't exist in updated module. I updated the template to reflect overridden config parameter

asaadedd commented 5 years ago

This fix would help me a lot, thanks!

luisfpg commented 5 years ago

Thanks for the PR. Merged.