handlebars.JavaJaxRS.di.apiService.mustache Maven / Gradle / Ivy
package {{package}};
import {{package}}.*;
{{#hasModel}}import {{modelPackage}}.*;{{/hasModel}}
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
{{#imports}}import {{import}};
{{/imports}}
import java.util.Map;
import java.util.List;
import java.io.InputStream;
{{#jakarta}}
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.core.SecurityContext;
{{/jakarta}}
{{^jakarta}}
import javax.ws.rs.core.Response;
import javax.ws.rs.core.SecurityContext;
{{/jakarta}}
{{#useBeanValidation}}
{{#jakarta}}
import jakarta.validation.constraints.*;
{{/jakarta}}
{{^jakarta}}
import javax.validation.constraints.*;
{{/jakarta}}
{{/useBeanValidation}}
{{>generatedAnnotation}}
{{#operations}}
public interface {{classname}}Service {
{{#operation}}
{{#contents}}
public Response {{nickname}}({{#parameters}}{{>serviceQueryParams}}{{>servicePathParams}}{{>serviceHeaderParams}}{{>serviceBodyParams}}{{>serviceFormParams}},{{/parameters}}SecurityContext securityContext);
{{/contents}}
{{/operation}}
}
{{/operations}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy