code: func (s *Server) Imports() []string {
  	imports := map[string]struct{}{}
  
  	for _, r := range s.Resources {
  		imports[r.apiName()] = struct{}{}
  	}
  	return commons.MapToSortedStrings(imports)
  }
docs: // Imports returns array of modules that need to be imported by server's main file