Package io.swagger.codegen.v3
Class CodegenModelFactory
java.lang.Object
io.swagger.codegen.v3.CodegenModelFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TnewInstance(CodegenModelType type) static voidsetTypeMapping(CodegenModelType type, Class<?> implementation) Configure a different implementation class.
-
Constructor Details
-
CodegenModelFactory
public CodegenModelFactory()
-
-
Method Details
-
setTypeMapping
Configure a different implementation class.- Parameters:
type- the type that shall be replacedimplementation- the implementation class must extend the default class and must provide a public no-arg constructor
-
newInstance
-