swagger-api / swagger-codegen

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
http://swagger.io
Apache License 2.0
16.91k stars 6.03k forks source link

Question: What is the difference between #10826

Open Christian-Oleson opened 3 years ago

Christian-Oleson commented 3 years ago
Description

What is the difference between swagger-codegen/modules/swagger-codegen/src/main/resources/csharp and swagger-codegen/modules/swagger-codegen/src/main/resources/csharp-dotnet2 ? I cannot find documentation on the difference.

Swagger-codegen version

Latest, though this is a question of the repo

Swagger declaration file content or url

N/a

Command line used for generation

N/a

Steps to reproduce

In the repo, navigate to swagger-codegen/modules/swagger-codegen/src/main/resources/ and view that there is csharp and csharp-dotnet2

Suggest a fix/enhancement

Clarification in the documentation about this difference

hailongzhao-seismic commented 3 years ago

I'm new on this staff, I have the same question, basically the following:

1. should the "dotnet2" will be replaced by "dotnet3"?

2. for "csharp" language option, there is "targetFramework", which value of "v5.0" means ".NET Standard 1.3 compatible", will this replace dotnet3?