removed @Produces

enunciate_integration
Francesco Mangiacrapa 2 years ago
parent 827e69486c
commit 3df4a29dd3

@ -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");

Loading…
Cancel
Save