OpenAPITools / OpenAPITools/openapi-generator

[BUG][C#] There is no Default memeber in Configration for the example document

Open
#4,892 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: C-Sharp Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Regarding to the C# client language, the auto generated readme says below:

doc

But there is no Default defined in the Configuration class, thus if I use the example, it can’t be built successfully

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 C# client example from the generated README and compare its use of Default with the generated Configuration class. Trace the generator entry point or template responsible for the README and Configuration output. Done means the documented example builds successfully against the generated Configuration class.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.