I´m using the swagger-codegen-maven-plugin(2.4.4) to generate the consumer api (okhttp) for one of our microservices from an swagger input spec (v2). At the moment we have two m