-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Description
I have a shared Java package that contains the data model classes that will be used by my Spring Boot API server and also by Java clients. I can specify these classes with the importMappings configuration option. However, there is no method I can find where I can add the library that contains those classes as a dependency in the generated pom.xml. The pom file must be modified after generation in order to compile the generated code which references the mapped classes. This presents a problem for automated bulds. Yes it can be scripted, but we're so close to having everything in place.
Or is there some feature that can do this and I just haven't found the right documentation yet?
Swagger-codegen version
Maven plulgin 2.3.0-SNAPSHOT
Swagger declaration file content or url
N/A
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
Add a configuration option related to importMappings where the user can specify the group/artifact/version to provide the mapped classes and include that dependency in the generated build files