public RepositoryInterfaceModel ScaffoldModel(OpenApiOptions options)
        {
            var model = new RepositoryInterfaceModel();
            List <ScaffoldedFile> list = new List <ScaffoldedFile>();

            foreach (var kvp in options.Document.GetSchemas())
            {
                var name   = kvp.Key;
                var schema = kvp.Value;
                ProcessInterfaceFile(options, list, name, schema);
            }

            model.Files = list;
            return(model);
        }
 public void Save(RepositoryInterfaceModel model)
 {
     Dependencies.FileWriter.WriteFiles(model.Files);
 }