@Override
    protected void doGet(final HttpServletRequest request,
                         final HttpServletResponse response) throws ServletException, IOException {
        try (final PrintWriter printWriter = response.getWriter()) {
            response.setContentType("text/html");
            response.setCharacterEncoding(StandardCharsets.UTF_8.name());
            response.setStatus(200);

            String html = getHtmlTemplate();
            html = html.replace(TITLE, uiConfig.getHtmlTitle());
            html = html.replace(SWAGGER_SPEC_URL_TAG, getSwaggerSpecFileUrl());
            html = html.replace(SWAGGER_UI_REL_DIR_TAG, "ui/noauth/swagger-ui-dist");

            printWriter.write(html);
        } catch (final IOException e) {
            LOGGER.error("Error retrieving Swagger UI", e);
            throw new ServletException("Error retrieving stroom status");
        }
    }
Note: {@link RedirectServlet} will re-direct to here to support legacy servlet paths,
i.e. /stroom/noauth/swagger-ui/xxx
stroom-core/src/main/java/stroom/core/servlet/SwaggerUiServlet.java