All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.jeddict.template.arquillian.AuthenticationControllerClient.ftl Maven / Gradle / Ivy

Go to download

Jeddict is an open source Jakarta EE application development platform that accelerates developers productivity and simplifies development tasks of creating complex entity relationship models.

There is a newer version: 6.5.0
Show newest version
package ${package};

import ${appPackage}${LoginDTO_FQN};
import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.POST;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;

@RegisterRestClient
@Path("/api")
public interface ${AuthenticationController}Client {

    @Path("/authenticate")
    @POST
    @Consumes({MediaType.APPLICATION_JSON})
    public Response login(LoginDTO loginDTO);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy