Skip to content

Commit 700a81b

Browse files
committed
updating JanitorMonkeyResource to have application/json content-type
1 parent ff26700 commit 700a81b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/netflix/simianarmy/resources/janitor/JanitorMonkeyResource.java

+3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
import javax.ws.rs.GET;
2525
import javax.ws.rs.POST;
2626
import javax.ws.rs.Path;
27+
import javax.ws.rs.Produces;
2728
import javax.ws.rs.QueryParam;
2829
import javax.ws.rs.core.Context;
30+
import javax.ws.rs.core.MediaType;
2931
import javax.ws.rs.core.Response;
3032
import javax.ws.rs.core.UriInfo;
3133

@@ -46,6 +48,7 @@
4648
* The Class JanitorMonkeyResource for json REST apis.
4749
*/
4850
@Path("/v1/janitor")
51+
@Produces(MediaType.APPLICATION_JSON)
4952
public class JanitorMonkeyResource {
5053

5154
/** The Constant JSON_FACTORY. */

0 commit comments

Comments
 (0)