OpenAPITools / OpenAPITools/openapi-generator
[BUG][C#] There is no Default memeber in Configration for the example document
Open
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:

But there is no Default defined in the Configuration class, thus if I use the example, it can’t be built successfully
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
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