public class ResolverCache extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
openapi31 |
Constructor and Description |
---|
ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi,
List<AuthorizationValue> auths,
String parentFileLocation) |
ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi,
List<AuthorizationValue> auths,
String parentFileLocation,
Set<String> resolveValidationMessages) |
ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi,
List<AuthorizationValue> auths,
String parentFileLocation,
Set<String> resolveValidationMessages,
ParseOptions parseOptions) |
Modifier and Type | Method and Description |
---|---|
void |
addReferencedKey(String modelKey) |
Map<String,String> |
getExternalFileCache() |
ParseOptions |
getParseOptions() |
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)
public ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi, List<AuthorizationValue> auths, String parentFileLocation, Set<String> resolveValidationMessages)
public ResolverCache(io.swagger.v3.oas.models.OpenAPI openApi, List<AuthorizationValue> auths, String parentFileLocation, Set<String> resolveValidationMessages, ParseOptions parseOptions)
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)
public ParseOptions getParseOptions()
Copyright © 2022. All rights reserved.