removed @Produces
This commit is contained in:
parent
827e69486c
commit
3df4a29dd3
|
@ -39,7 +39,6 @@ public class UriResolverDocs {
|
||||||
* @throws WebApplicationException the web application exception
|
* @throws WebApplicationException the web application exception
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@Produces({ MediaType.TEXT_HTML })
|
|
||||||
@Path("/{any: .*}")
|
@Path("/{any: .*}")
|
||||||
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException {
|
||||||
logger.info(UriResolverDocs.class.getSimpleName() + " toDoc called");
|
logger.info(UriResolverDocs.class.getSimpleName() + " toDoc called");
|
||||||
|
@ -77,7 +76,7 @@ public class UriResolverDocs {
|
||||||
* @throws WebApplicationException the web application exception
|
* @throws WebApplicationException the web application exception
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@Produces({ MediaType.TEXT_HTML })
|
// @Produces({ MediaType.TEXT_HTML })
|
||||||
@Path("")
|
@Path("")
|
||||||
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException {
|
public InputStream index(@Context HttpServletRequest req) throws WebApplicationException {
|
||||||
logger.info(UriResolverDocs.class.getSimpleName() + " index called");
|
logger.info(UriResolverDocs.class.getSimpleName() + " index called");
|
||||||
|
|
Loading…
Reference in New Issue