diff --git a/enunciate.xml b/enunciate.xml index f5ceb70..5908c4d 100644 --- a/enunciate.xml +++ b/enunciate.xml @@ -3,14 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://enunciate.webcohesion.com/schemas/enunciate-2.14.0.xsd"> - + @@ -18,6 +11,6 @@ - + \ No newline at end of file diff --git a/src/main/java/org/gcube/gcat/rest/Docs.java b/src/main/java/org/gcube/gcat/rest/Docs.java index 835735d..769681d 100644 --- a/src/main/java/org/gcube/gcat/rest/Docs.java +++ b/src/main/java/org/gcube/gcat/rest/Docs.java @@ -24,7 +24,7 @@ public class Docs { private static Logger logger = LoggerFactory.getLogger(Docs.class); @GET - @Path("{any: .{0,}}") + @Path("{any: .*}") public InputStream toDoc(@Context HttpServletRequest req) throws WebApplicationException { String pathInfo = req.getPathInfo();