swagger-api / swagger-api/swagger-codegen

[C#] Consolidate C# 2.0 generator into C# generator

Open
#5,138 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: C-Sharp Enhancement: Feature help wanted
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Currently, C# (csharp) generator supports the following .net framework/standard:

	targetFramework
	    The target .NET framework version. (Default: v4.5)
	        v3.5 - .NET Framework 3.5 compatible
	        v4.5 - .NET Framework 4.5+ compatible
	        v5.0 - .NET Standard 1.3 compatible
	        uwp - Universal Windows Platform - beta support

and there's a separate generator for C# 2.0.

We want to consolidate/merge C# 2.0 generator into csharp generator for easier maintenance and support.

Swagger-codegen version

Latest master

If anyone wants to work on the enhancement, please reply to let us know. Thanks!

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

No files or tests are named. Start by locating the csharp and separate C# 2.0 generators, then compare their templates, configuration, and generation entry points. Done means the C# 2.0 behavior is supported through the csharp generator without maintaining a separate generator.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 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.