OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.52k stars 6.51k forks source link

[REQ] Cross-platform build csharp-dotnet2 clients #2672

Open picadoh opened 5 years ago

picadoh commented 5 years ago

Is your feature request related to a problem? Please describe.

Currently, the csharp-dotnet2 clients are not generated with a csproj inside it. Although it provides a Mono-based build script that downloads the nuget.exe, pulls the dependencies and builds the client library, this approach has the following problems:

Describe the solution you'd like

I'd like to purpose adding a csproj file to the generated csharp-dotnet2 client, so it can be used by the .NET SDK for:

Note: With this change, the packages.config and the compile-mono.sh are no longer necessary so they can also be removed from the generated clients.

Describe alternatives you've considered

N/A

Additional context

N/A

wing328 commented 5 years ago

Good suggestion. We definitely welcome the enhancement.

Please let me know if you need any help.

I can be reached via Slack