Package io.swagger.codegen.utils
Class ModelUtils
- java.lang.Object
-
- io.swagger.codegen.utils.ModelUtils
-
public class ModelUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ModelUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodegenModel
getModelByName(String name, Map<String,Object> models)
Searches for the model by name in the map of models and returns it
-
-
-
Method Detail
-
getModelByName
public static CodegenModel getModelByName(String name, Map<String,Object> models)
Searches for the model by name in the map of models and returns it- Parameters:
name
- Name of the modelmodels
- Map of models- Returns:
- model
-
-