-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Note: we noticed CodegenModel.java with Map<String, Object> allowableValues is missing in a Swagger-codegen jar downloaded from Maven-central.
There seems to be an inconcistency:
If Maven retrieves version 2.1.6 from maven-central it gets the version with CodegenModel.java where allowableValuesis represented as a List<String>.
If downloading the latest code from github it also creates a version 2.1.6 but this time with CodegenModel.java where allowableValuesis represented as a Map<String, Object>.
In other words:
The releases tagged as 2.1.6 doesn't contain your great additions in CodegenModel.java for enum key/value-pairs.
Even though thoses changes were prior to 2.1.6 they are not included in the release dated from April 6th 2016.
I really would like to use the new enum-features and don't know how to make my build-process stable if it downloads the wrong version.
Swagger-codegen version: 2.1.6
Proof:
Compare content of
http://central.maven.org/maven2/io/swagger/swagger-codegen/2.1.6/swagger-codegen-2.1.6.jar
with your latest code.
Suggestion:
a) change the version in your pom.xml from 2.1.6 to 2.1.7-SNAPSHOT
b) tag the latest code with Map<String, Object> allowableValues to make it available for download via mavencentral