Class ModelUtils


  • public class ModelUtils
    extends Object
    • Constructor Detail

      • ModelUtils

        public ModelUtils()
    • 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 model
        models - Map of models
        Returns:
        model