public class ResolverCache extends Object
| Constructor and Description |
|---|
ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi,
List<AuthorizationValue> auths,
String parentFileLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReferencedKey(String modelKey) |
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,
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.v3.oas.models.media.Schema schema) |
protected <T> void |
updateLocalRefs(String file,
T result) |
public ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi,
List<AuthorizationValue> auths,
String parentFileLocation)
protected <T> void updateLocalRefs(String file, T result)
protected <T> void updateLocalRefs(String file, io.swagger.v3.oas.models.media.Schema schema)
public boolean hasReferencedKey(String modelKey)
public void addReferencedKey(String modelKey)
Copyright © 2021. All rights reserved.