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