You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/02/07 12:43:46 UTC

syncope git commit: Missing @Produces annotations

Repository: syncope
Updated Branches:
  refs/heads/master 43fcd1d6a -> 5711421da


Missing @Produces annotations


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/5711421d
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/5711421d
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/5711421d

Branch: refs/heads/master
Commit: 5711421da1f69e7bf7080547cc46a09a319b794a
Parents: 43fcd1d
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Wed Feb 7 13:43:40 2018 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Wed Feb 7 13:43:40 2018 +0100

----------------------------------------------------------------------
 .../syncope/common/rest/api/service/ImplementationService.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/5711421d/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
index d483961..daefbf2 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
@@ -74,6 +74,7 @@ public interface ImplementationService extends JAXRSService {
      */
     @POST
     @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+    @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
     Response create(@NotNull ImplementationTO implementationTO);
 
     /**
@@ -84,6 +85,7 @@ public interface ImplementationService extends JAXRSService {
      */
     @PUT
     @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+    @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
     Response update(@NotNull ImplementationTO implementationTO);
 
     /**
@@ -94,6 +96,7 @@ public interface ImplementationService extends JAXRSService {
      */
     @DELETE
     @Path("{key}")
+    @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
     Response delete(@NotNull @PathParam("key") String key);
 
 }