@GetMapping("/{term}")
    @Operation(summary = "Get all properties from the repository that match the name or description", parameters =
        @Parameter(name = "term", required = true, description = "The search term to search for"))
    public List<ConfigurationMetadataSearchResult> search(
        @PathVariable
        final String term) {
        val allProps = repository.getRepository().getAllProperties();
        val names = StreamSupport.stream(RelaxedPropertyNames.forCamelCase(term).spliterator(), false)
            .map(Object::toString)
            .collect(Collectors.joining("|"));
        val pattern = RegexUtils.createPattern(names);
        return allProps.entrySet()
            .parallelStream()
            .filter(entry ->
                RegexUtils.find(pattern, entry.getKey()) || RegexUtils.find(pattern, StringUtils.defaultString(entry.getValue().getDescription())))
            .map(entry ->
                new ConfigurationMetadataSearchResult(entry.getValue()))
            .sorted()
            .toList();
    }
Search for property.

@param term the term
@return the response entity
support/cas-server-support-configuration-metadata-repository/src/main/java/org/apereo/cas/metadata/rest/CasConfigurationMetadataServerEndpoint.java