public class ResolverCache extends Object
| Constructor and Description |
|---|
ResolverCache(io.swagger.models.Swagger swagger,
List<io.swagger.models.auth.AuthorizationValue> auths,
String parentFileLocation) |
ResolverCache(io.swagger.models.Swagger swagger,
List<io.swagger.models.auth.AuthorizationValue> auths,
String parentFileLocation,
ParseOptions parseOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReferencedKey(String modelKey) |
protected void |
checkUrlIsPermitted(String refSet) |
protected com.fasterxml.jackson.databind.JsonNode |
deserialize(String contents,
String file) |
Map<String,String> |
getExternalFileCache() |
Map<String,String> |
getRenameCache() |
String |
getRenamedRef(String originalRef) |
Map<String,Object> |
getResolutionCache() |
boolean |
hasReferencedKey(String modelKey) |
<T> T |
loadRef(String ref,
io.swagger.models.refs.RefFormat refFormat,
Class<T> expectedType) |
protected String |
merge(String host,
String ref) |
void |
putRenamedRef(String originalRef,
String newRef) |
protected <T> void |
updateLocalRefs(String file,
io.swagger.models.Model schema) |
protected <T> void |
updateLocalRefs(String file,
io.swagger.models.properties.Property schema) |
protected <T> void |
updateLocalRefs(String file,
T result) |
public ResolverCache(io.swagger.models.Swagger swagger,
List<io.swagger.models.auth.AuthorizationValue> auths,
String parentFileLocation)
public ResolverCache(io.swagger.models.Swagger swagger,
List<io.swagger.models.auth.AuthorizationValue> auths,
String parentFileLocation,
ParseOptions parseOptions)
public <T> T loadRef(String ref, io.swagger.models.refs.RefFormat refFormat, Class<T> expectedType)
protected com.fasterxml.jackson.databind.JsonNode deserialize(String contents, String file)
protected <T> void updateLocalRefs(String file, T result)
protected <T> void updateLocalRefs(String file, io.swagger.models.Model schema)
protected <T> void updateLocalRefs(String file, io.swagger.models.properties.Property schema)
protected void checkUrlIsPermitted(String refSet)
public boolean hasReferencedKey(String modelKey)
public void addReferencedKey(String modelKey)
Copyright © 2025. All rights reserved.