fixing content-type

This commit is contained in:
Luca Frosini 2023-05-19 10:56:58 +02:00
parent ff6c0a8b25
commit 12dad415c9
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ public class Software {
private final Logger logger = LoggerFactory.getLogger(Software.class);
public static final String APPLICATION_JSON_CHARSET_UTF_8 = "application/json;charset=UTF-8";
public static final String APPLICATION_JSON = "application/json";
@HEAD
public Response alive() {
@ -34,7 +34,7 @@ public class Software {
@POST
@Consumes(APPLICATION_JSON_CHARSET_UTF_8)
@Consumes(APPLICATION_JSON)
@StatusCodes ({
@ResponseCode ( code = 202, condition = "The provided json is formally correct.")
})