Swagger not working
<p>I'm having a bit of trouble making Swagger display API docs using Restlet. What Swagger shows is just these stuff:</p>

<p><a href="https://i.stack.imgur.com/UYSbc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UYSbc.png" alt="enter image description here"></a></p>

<p>And checking the api-docs it only shows this:</p>

<p><a href="https://i.stack.imgur.com/6jTh2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6jTh2.png" alt="enter image description here"></a></p>

<p>I wonder what is wrong with my code:</p>

<pre><code>public class MyApplication extends SwaggerApplication {
    private static final String ROOT_URI = "/";
    public Restlet createInboundRoot() {
        Router router = new Router(getContext());
        router.attach(ROOT_URI, RootServerResource.class);
        router.attach(ROOT_URI + "ping", PingServerResource.class);
        router.attach(ROOT_URI + "ping/", PingServerResource.class);
        // Some code omitted for simplicity
        return router;
    }
}
</code></pre>