swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
run above command to attempt to generate operations variables into a file called operations.json, note that a directory is created with full codegen output instead. The same occurs when trying to generate models
Description
I'm following the information here: https://github.com/swagger-api/swagger-codegen/wiki/Mustache-Template-Variables
Attempting to generate either the models or the operations will load the full codegen folder instead of a json file with variables as expected
its as if the
-DdebugOperations
or-DdebugModels
flags are not being recognizedSwagger-codegen version
2.4.0 (master)
Command line used for generation
java -DdebugOperations -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l csharp -o operations.json
Steps to reproduce
mvn clean install -DskipTests