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 : Conditional Imports of Global Type Modules #36

Open
kahlil29 opened this issue Apr 4, 2019 · 0 comments
Open

Webapi-Swagger : Conditional Imports of Global Type Modules #36

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

Comments

@kahlil29
Copy link
Contributor

kahlil29 commented Apr 4, 2019

There are 3 (possible) Global Types modules that could be generated.

  1. Definitions
  2. Responses
  3. Params

All 3 could be potentially empty (most likely Responses and/or Params)
If they are empty (module would not be generated) OR if the local Types module does not need or use any Type(s) defined in these Global modules then there is no need to import them.

@kahlil29 kahlil29 added the Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs) label Apr 4, 2019
@kahlil29 kahlil29 self-assigned this Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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