public class PathUtils
extends java.lang.Object
| Constructor and Description |
|---|
PathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<PathOperation> |
toPathOperationsList(java.util.Map<java.lang.String,io.swagger.models.Path> paths,
java.lang.String basePath,
java.util.Comparator<PathOperation> comparator)
Converts the Swagger paths into a list of PathOperations.
|
static java.util.List<PathOperation> |
toPathOperationsList(java.lang.String path,
io.swagger.models.Path pathModel)
Converts a Swagger path into a PathOperation.
|
public static java.util.List<PathOperation> toPathOperationsList(java.util.Map<java.lang.String,io.swagger.models.Path> paths, java.lang.String basePath, java.util.Comparator<PathOperation> comparator)
paths - the Swagger pathspaths - the basePath of all pathscomparator - the comparator to use.public static java.util.List<PathOperation> toPathOperationsList(java.lang.String path, io.swagger.models.Path pathModel)
path - the pathpathModel - the Swagger Path model