swagger-api / swagger-api/swagger-codegen
[CSharp] Generated code from Swagger Codegen 3.0.23 doesn't build
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
The generated C# code produced by Swagger Codegen CLI v3.0.23 doesn't build
Swagger-codegen version
v3.0.23
Swagger declaration file content or url
https://petstore3.swagger.io/api/v3/openapi.json
Command line used for generation
java -jar "C:\Temp\swagger-codegen-cli.jar" generate -l csharp --input-spec "https://petstore3.swagger.io/api/v3/openapi.json" --output "C:\projects\PetStoreApiClient"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report with Swagger Codegen CLI v3.0.23, the petstore3 OpenAPI URL, and the provided csharp generation command. Inspect the generated C# project and its build output to identify the failure; done means the generated PetStoreApiClient builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, java, openapi
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100