code: func (m method) needImportGoramlTypes() bool {
  	pkgPrefix := typePackage + "."
  	needImport := func(typeStr string) bool {
  		switch {
  		case strings.HasPrefix(typeStr, "[][]"+pkgPrefix):
  			return true
  		case strings.HasPrefix(typeStr, "[]"+pkgPrefix):
  			return true
  		case strings.HasPrefix(typeStr, pkgPrefix):
  			return true
  		default:
  			return false
  		}
  	}
  	if needImport(m.ReqBody()) {
  		return true
  	}
  	for _, resp := range m.RespBodyTypes() {
  		if needImport(resp.Type()) {
  			return true
  		}
  	}
  	return false
  }
docs: // returns true if need to import goraml generated types