Skip to content

Commit ff26700

Browse files
committedJun 8, 2016
updating ChaosMonkeyResource to have application/json content-type
1 parent 6869a54 commit ff26700

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/main/java/com/netflix/simianarmy/resources/chaos/ChaosMonkeyResource.java

+3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
import javax.ws.rs.GET;
2929
import javax.ws.rs.POST;
3030
import javax.ws.rs.Path;
31+
import javax.ws.rs.Produces;
3132
import javax.ws.rs.core.Context;
33+
import javax.ws.rs.core.MediaType;
3234
import javax.ws.rs.core.Response;
3335
import javax.ws.rs.core.UriInfo;
3436

@@ -58,6 +60,7 @@
5860
* The Class ChaosMonkeyResource for json REST apis.
5961
*/
6062
@Path("/v1/chaos")
63+
@Produces(MediaType.APPLICATION_JSON)
6164
@Singleton
6265
public class ChaosMonkeyResource {
6366

0 commit comments

Comments
 (0)
Please sign in to comment.