public static boolean isValidPath(String path) {
		if (StringUtils.isNotBlank(path) && !path.equals("/"))
			return true;
		return false;
	}
Is valid path boolean.

@param path the path
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils/SpringDocUtils.java