A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/swagger-api/swagger-codegen/issues/12431 below:

[CSHARP] test project is generated in default sourceFolder even when sourceFolder is set · Issue #12431 · swagger-api/swagger-codegen · GitHub

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:

  1. create config.json
  2. set sourceFolder to something other than the default value of src.
  3. run swagger-codegen-cli with the config

Expected result:

Actual result:

Related issues/PRs Suggest a fix/enhancement

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4