[csharp][aspnet5] AbstractCSharpCodegen base

This moves a bit of logic into a base type to prevent lots of
duplicates.

I've only converted csharp and aspnet5 generators, not csharp 2.0.

This base class should provide enough flexibility to support other C#
based client and server generators.
This commit is contained in:
Jim Schubert
2016-02-07 16:55:08 -05:00
parent 59fde5f072
commit 37d07e1012
5 changed files with 674 additions and 899 deletions

View File

@@ -3,9 +3,7 @@ package io.swagger.codegen.aspnet5;
import io.swagger.codegen.AbstractOptionsTest;
import io.swagger.codegen.CodegenConfig;
import io.swagger.codegen.languages.AspNet5ServerCodegen;
import io.swagger.codegen.languages.CSharpClientCodegen;
import io.swagger.codegen.options.AspNet5ServerOptionsProvider;
import io.swagger.codegen.options.CSharpClientOptionsProvider;
import mockit.Expectations;
import mockit.Tested;