How to have more than one path in "@SlingServletPaths"
The fact that SlingServletPaths is plural implies we can add more than one. However, the syntax seems to be undocumented. I have tired the following:
value = "/some/path1,/some/path2")
value = "[/some/path1,/some/path2]")
neither works, only if there is one or the other does it work (for that path)
Any ideas?
@Slf4j
@Component(service = {Servlet.class})
@SlingServletPaths(value = "/some/path1")
public class SomeServlet extends SlingAllMethodsServlet {