Open vnalla opened 8 years ago
Please use master of codegen. The release of codegen was made before inflector was released.
The same result. Downloaded the swagger-codegen from this URL https://github.com/swagger-api/swagger-codegen using "Download Zip" button and compiled using "mvn package".
thanks!
right you are! I thought these files were updated. Doing that now, and will update this ticket as soon as it's merged. Apologies for the back-and-forth.
Ok all done, via https://github.com/swagger-api/swagger-codegen/commit/ce9f8baefcd5de9469b0494ac43fefd50aa676b4 Please try that out, and comment when you can.
Swagger Codegen with -l inflector option generating code with incorrect pom.xml file. 1) it is using swagger-inflector version 1.0.0-SNAPSHOT, which is not in the maven repo. it should be changed to 1.0.0 2) scan target is usingsrc/main/swagger/swagger.yaml yaml file name where as generated code with file name swagger.json.