com.github.magrifle.data.searchapi.annotation.SearchApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-search-api Show documentation
Show all versions of data-search-api Show documentation
A library that helps you instantly turn your Spring powered endpoints into a query engine. It makes use
of AOP to intercept the calls to your Controller or RestController endpoints and then builds a Specification
from the provided query parameters
package com.github.magrifle.data.searchapi.annotation;
import com.github.magrifle.data.searchapi.specification.SearchParameterSeparator;
import java.lang.annotation.*;
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SearchApi {
String queryString() default "q";
SearchParameterSeparator keySeparator() default SearchParameterSeparator.COMMA;
Class entity();
boolean failOnMissingQueryString() default false;
boolean caseSensitive() default true;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy