Skip to content
Snippets Groups Projects
Commit 3a02adfe authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Switch information requests for types and classifications to GET

parent 70e1c28d
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ package de.unikoblenz.fgbks.api;
import de.unikoblenz.fgbks.core.dmn.verification.DmnVerificationService;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
......@@ -22,7 +23,7 @@ public class Verification {
return Response.accepted(dmnVerificationService.generate(payload)).build();
}
@POST
@GET
@Path("/type")
@Produces(MediaType.APPLICATION_JSON)
public Response verifyType() {
......@@ -37,7 +38,7 @@ public class Verification {
return Response.accepted(dmnVerificationService.generateFromType(typeName, payload)).build();
}
@POST
@GET
@Path("/classification")
@Produces(MediaType.APPLICATION_JSON)
public Response verifyClassification() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment