Open
Description
Description
When creating a C# client with swagger-codegen-cli, if the user passes a config file with sourceFolder
to any path other than the default then swagger-codegen-cli still outputs the test subproject to ./src
.
Swagger-codegen version
3.0.57
Swagger declaration file content or url
N/A
Command line used for generation
{
"sourceFolder": "FooBar"
}
java -jar swagger-codegen-cli-3.0.57.jar generate -i ${OPENAPI_SPEC} \
-l csharp \
-c config.json
Steps to reproduce
How to reproduce:
- create
config.json
- set
sourceFolder
to something other than the default value ofsrc
. - run swagger-codegen-cli with the config
Expected result:
- store the test subproject alongside the client project (i.e., comply with
sourceFolder
, as per this)
Actual result:
- the test subproject is outputted to
./src
.
Related issues/PRs
Suggest a fix/enhancement
- Add support for
testFolder
, as per this.
Metadata
Metadata
Assignees
Labels
No labels