docs: private String getRestApplicationPath() {
          String path = "";
          // Check to see if we have any class annotated with the @ApplicationPath. If found, ensure that we set the context path
          // for Swagger resources to webAppContextPath + applicationPath.
          if (indexView != null) {
              DotName dotName = DotName.createSimple(ApplicationPath.class.getName());
              Collection<AnnotationInstance> instances = indexView.getAnnotations(dotName);
              Set<String> applicationPaths = new HashSet<>();
              for (AnnotationInstance ai : instances) {
                  AnnotationTarget target = ai.target();
                  if (target.kind() == AnnotationTarget.Kind.CLASS) {
                      Object value = ai.value().value();
                      if (value != null) {
                          applicationPaths.add(String.valueOf(value));
                      }
                  }
              }
              if (applicationPaths.size() > 1) {
                  // We wouldn't know which application path to pick for serving the swagger resources. Let the deployment choose
                  // this value explicitly.
                  SwaggerMessages.MESSAGES.multipleApplicationPathsFound(applicationPaths);
              } else if (!applicationPaths.isEmpty()) {
                  // Update the context path for swagger
                  path = applicationPaths.iterator().next();
              }
          }
          return path;
      }