title: How to have multiple sub paths for an API with swagger annotations?
body: <p>When you look on the swagger demo site they have sub paths</p>
  
  <p><img src="https://i.stack.imgur.com/Sb2Fe.png" alt="swagger demo screenshot"></p>
  
  <p>I am using <a href="https://github.com/gettyimages/spray-swagger" rel="nofollow noreferrer">swagger-spray</a> which happens to use the official <a href="https://github.com/wordnik/swagger-core/tree/master/modules/swagger-annotations" rel="nofollow noreferrer">swagger annotations</a>.</p>
  
  <p>When I build my api everything annotated with @Api is grouped into an api entry with a single path.</p>
  
  <p>How within this can I have multiple sub paths such as "/user/login" and "/user/logout"?</p>