swagger-api / swagger-api/swagger-codegen

Support for .NET Standard 2.0?

Open
#9,821 6 comments 2 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

Description

When is the plan to support for .NET Standard 2.0? From documentation and code it seems only 1.3 netstandard version is supported.
https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/CSharpClientCodegen.java#L26

I also checked the version generated out of the code gen it shows netstandard 1.3 version.

Swagger-codegen version

docker pull swaggerapi/swagger-codegen-cli (latest)

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 with modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/CSharpClientCodegen.java, which the issue identifies as the source of the current target version. Compare that setting with the generated output from the swagger-codegen-cli Docker image. Done means generated C# clients target .NET Standard 2.0, with the relevant generated project output updated accordingly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.