swagger-api / swagger-api/swagger-codegen

[CSharp] Generating Library errors

Open
#10,555 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Installed Java Version 8 Update 271.

Downloaded the swagger-codegen-cli version 2.4.17 from this link

When i run the command to generate i get the below issues

I have to use this JSON but i also tested with this sample JSON

For 2.4.7 rc1 I get the below error:
Capture2 4 7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CSharp generation with swagger-codegen-cli 2.4.17 on Java 8, using the sellers.json and Petstore JSON linked in the issue; inspect the attached error image and record the exact command and textual error. Done means the failure is reproduced and narrowed to a specific generator or input, with successful generation or a clearly documented remaining blocker.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.