public class RefUtils extends Object
| Constructor and Description |
|---|
RefUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
computeDefinitionName(String ref) |
static String |
deconflictName(String possiblyConflictingDefinitionName,
Map<String,Model> definitions) |
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) |
public static String deconflictName(String possiblyConflictingDefinitionName, Map<String,Model> definitions)
public static boolean isAnExternalRefFormat(io.swagger.models.refs.RefFormat refFormat)
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.