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

Merge branch 'develop' into feature-documentation

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