code: func getDefaultModelSpecName(typ reflect.Type) string {
  	// Strip any dereference operators
  	for typ.Kind() == reflect.Ptr {
  		typ = typ.Elem()
  	}
  	nameWithPackage := typ.String()
  	// Strip the package name
  	return strings.Join(strings.Split(nameWithPackage, ".")[1:], "")
  }
docs: // getDefaultModelSpecName returns the default name for the given type, which is
  // simply the name of the type without the package prefix or dereference
  // operators.