I am using 2.2.2-SNAPSHOT of io.swagger.codegen which I built off the
master today (31 January 2017). I'm generating dotnetcore code in the
following manner
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar
generate -i E:\senften\tmp\tool_api.json -c
E:\senften\tmp\swagger_codegen_config.json -l aspnetcore -o
E:\senften\tmp\ToolAPI
My swagger_codegen_config.json file is
{
"packageName": "com.reveal.tool",
"sourceFolder": "src/tool"
}
The generated code properly changes the packageName to com.reveal.tool but
the resulting source is still in E:\senften\tmp\ToolAPI\src\IO.Swagger.
Moreover, the resulting com.reveal.tool.sln will not load properly unless
the src\IO.Swagger directory is renamed to src\com.reveal.tool.
We are currently in a mode where our API is still evolving so we are
updating and merging code as necessary, but the directory renaming makes
the diff/merge more difficult in an already cumbersome process.
An I not using the config file properly or is this a bug? I saw a post that
stated I should be using "outputFolder", but that didn't seem to have any
effect either.
I'm new to swagger so I thought I'd ask before opening an issue.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.