title: Swagger UI - How can I expand all the operations by default?
body: <p>All the operations appear collapsed when I open it and I want it to be expanded by default.</p>
  
  <p>Is there any property I need to change to achieve it?</p>
  
  <p>This is my swagger Bean:</p>
  
  <pre><code>@Configuration
  @EnableSwagger2
  public class SwaggerConfig {
  
      @Bean
      public Docket restApi() {
          return new Docket(DocumentationType.SWAGGER_2)
                  .select()
                  .paths(regex("/api/.*"))
                  .build()
                  .directModelSubstitute(XMLGregorianCalendar.class, Date.class)
                  .apiInfo(apiInfo())                
                  .useDefaultResponseMessages(false);
      }
  }
  </code></pre>