public class RefUtils extends Object
| Constructor and Description |
|---|
RefUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildUrl(String rootPath,
String relativePath) |
static String |
computeDefinitionName(String ref) |
static boolean |
isAnExternalRefFormat(io.swagger.models.refs.RefFormat refFormat) |
static String |
readExternalRef(String file,
io.swagger.models.refs.RefFormat refFormat,
List<io.swagger.models.auth.AuthorizationValue> auths,
java.nio.file.Path parentDirectory) |
static String |
readExternalUrlRef(String file,
io.swagger.models.refs.RefFormat refFormat,
List<io.swagger.models.auth.AuthorizationValue> auths,
String rootPath) |
public static boolean isAnExternalRefFormat(io.swagger.models.refs.RefFormat refFormat)
public static String readExternalUrlRef(String file, io.swagger.models.refs.RefFormat refFormat, List<io.swagger.models.auth.AuthorizationValue> auths, String rootPath)
public static String readExternalRef(String file, io.swagger.models.refs.RefFormat refFormat, List<io.swagger.models.auth.AuthorizationValue> auths, java.nio.file.Path parentDirectory)
Copyright © 2016. All Rights Reserved.