forked from loafle/openapi-generator-original
[csharp] Update JsonSubTypes to 1.1.3 and use nuget dependency (#6969)
* the result I want to obtain * add csharp-petstore-net-40.bat for windows * just ran bin\windows\csharp-petstore-all.bat * Removed those directories: - samples\client\petstore\csharp - samples\client\petstore\csharp-dotnet2 then ran : bin\windows\csharp-petstore-all.bat * - update JsonSubTypes to 1.1.3 by using nuget dependency (the package is compatible with net40) - allign all version of Newtonsoft.Json to 10.0.3 * the result of bin\windows\csharp-petstore-all.bat * ran bin\security\windows\csharp-petstore.bat
This commit is contained in:
@@ -359,8 +359,6 @@ public class CSharpClientCodegen extends AbstractCSharpCodegen {
|
||||
clientPackageDir, "ExceptionFactory.cs"));
|
||||
supportingFiles.add(new SupportingFile("SwaggerDateConverter.mustache",
|
||||
clientPackageDir, "SwaggerDateConverter.cs"));
|
||||
supportingFiles.add(new SupportingFile("JsonSubTypes.mustache",
|
||||
clientPackageDir, "JsonSubTypes.cs"));
|
||||
|
||||
if (NET40.equals(this.targetFramework)) {
|
||||
// .net 4.0 doesn't include ReadOnlyDictionary…
|
||||
|
||||
Reference in New Issue
Block a user