@Test void testGetView() { SwaggerView response = resource.get(); assertAll( () -> assertEquals("Thunder Swagger UI", response.getTitle()), () -> assertEquals("/swagger-static", response.getSwaggerAssetsPath()), () -> assertEquals("", response.getContextPath()), () -> assertNull(response.getValidatorUrl()) ); }
@GET @Metered(name = "swagger-ui-requests") public SwaggerView get() { LOG.info("GET /swagger was called, returning new SwaggerView."); return new SwaggerView(); }
SwaggerResource { @GET @Metered(name = "swagger-ui-requests") public SwaggerView get() { LOG.info("GET /swagger was called, returning new SwaggerView."); return new SwaggerView(); } }
SwaggerResource { @GET @Metered(name = "swagger-ui-requests") public SwaggerView get() { LOG.info("GET /swagger was called, returning new SwaggerView."); return new SwaggerView(); } SwaggerResource(); }
SwaggerResource { @GET @Metered(name = "swagger-ui-requests") public SwaggerView get() { LOG.info("GET /swagger was called, returning new SwaggerView."); return new SwaggerView(); } SwaggerResource(); @GET @Metered(name = "swagger-ui-requests") SwaggerView get(); }
SwaggerResource { @GET @Metered(name = "swagger-ui-requests") public SwaggerView get() { LOG.info("GET /swagger was called, returning new SwaggerView."); return new SwaggerView(); } SwaggerResource(); @GET @Metered(name = "swagger-ui-requests") SwaggerView get();  }