code: public static List<PathOperation> toPathOperationsList(String path, Path pathModel) {
          List<PathOperation> pathOperations = new ArrayList<>();
          getOperationMap(pathModel).forEach((httpMethod, operation) ->
                  pathOperations.add(new PathOperation(httpMethod, path, operation)));
          return pathOperations;
      }
docs: Converts a Swagger path into a PathOperation.
  
  @param path      the  path
  @param pathModel the Swagger Path model
  @return the path operations