Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webapi-Swagger : Store and pass imports in an extensible manner #16

Open
kahlil29 opened this issue Mar 26, 2019 · 0 comments
Open

Webapi-Swagger : Store and pass imports in an extensible manner #16

kahlil29 opened this issue Mar 26, 2019 · 0 comments
Assignees
Labels
enhancement Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)

Comments

@kahlil29
Copy link
Contributor

Currently the module names have been hard-coded in the source and this is quite ugly and is not very extensible, especially if we want to switch to getting them in from a config file later.

A temporary approach/fix which could be extended later (probably via a config file) would be to keep the necessary imports in a top level function that provides the imports along with certain information (like whether it needs to be imported as qualified and the qualified name or whether we want to import using as , like import module XYZ as X).

@kahlil29 kahlil29 self-assigned this Mar 26, 2019
@kahlil29 kahlil29 added Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs) enhancement labels Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)
Projects
None yet
Development

No branches or pull requests

1 participant