removed @Produces

This commit is contained in:
Francesco Mangiacrapa 2022-03-28 15:59:50 +02:00
parent 827e69486c
commit 3df4a29dd3
1 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ public class UriResolverDocs {
* @throws WebApplicationException the web application exception
*/
@GET
@Produces({ MediaType.TEXT_HTML })
@Path("/{any: .*}")
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
logger.info(UriResolverDocs.class.getSimpleName() + " toDoc called");
@ -77,7 +76,7 @@ public class UriResolverDocs {
* @throws WebApplicationException the web application exception
*/
@GET
@Produces({ MediaType.TEXT_HTML })
// @Produces({ MediaType.TEXT_HTML })
@Path("")
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException {
logger.info(UriResolverDocs.class.getSimpleName() + " index called");