Description
The generated ClientConfiguration class always imports from spring-cloud-security and spring-security-oauth2 even if these imports are unused.
Swagger-codegen version
2.2.3
Swagger declaration file content or url
Example can be found at https://github.com/wjam/swagger-codegen-spring-cloud
Command line used for generation
Maven library used. Configuration is in the GitHub repo mentioned above
Steps to reproduce
Remove the line **/ClientConfiguration.java from the .swagger-codegen-ignore file and run mvn clean compile
Suggest a fix/enhancement
Only include those imports when they are actually required.