code: public static Builder from(Path swaggerPath) {
          Validate.notNull(swaggerPath, "swaggerPath must not be null");
          if (Files.notExists(swaggerPath)) {
              throw new IllegalArgumentException(String.format("swaggerPath does not exist: %s", swaggerPath));
          }
          try {
              if (Files.isHidden(swaggerPath)) {
                  throw new IllegalArgumentException("swaggerPath must not be a hidden file");
              }
          } catch (IOException e) {
              throw new RuntimeException("Failed to check if swaggerPath is a hidden file", e);
          }
          return new Builder(swaggerPath);
      }
docs: Creates a Swagger2MarkupConverter.Builder using a local Path.
  
  @param swaggerPath the local Path
  @return a Swagger2MarkupConverter