code: @GET
    @Path("/{asset: .+}")
    public Response getSwaggerUiAsset(@PathParam("asset") String assetPath) throws IOException {
      if (!ASSETS.contains(assetPath)) {
        return Response.status(404).build();
      }
  
      StreamingOutput streamingOutput = new StreamingOutput() {
        @Override
        public void write(OutputStream outputStream) throws IOException, WebApplicationException {
          try (InputStream inputStream = getClass().getResourceAsStream(WEBJAR_PATH + assetPath)) {
            int nextByte;
            while ((nextByte = inputStream.read()) != -1) {
              outputStream.write(nextByte);
            }
            outputStream.flush();
            outputStream.close();
          }
        }
      };
      return Response.ok(streamingOutput).build();
    }
docs: relative link to "images/throbber.gif" in swagger-ui.json will work.