Package io.swagger.v3.parser.reference
Class DereferencerContext
- java.lang.Object
-
- io.swagger.v3.parser.reference.DereferencerContext
-
public class DereferencerContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanaddParametersToEachOperationprotected List<io.swagger.v3.parser.core.models.AuthorizationValue>authsprotected StringcurrentUriprotected Map<String,String>idsCacheprotected io.swagger.v3.oas.models.OpenAPIopenApiprotected io.swagger.v3.parser.core.models.ParseOptionsparseOptionsprotected StringprovidedBaseUriprotected StringrootUriprotected io.swagger.v3.parser.core.models.SwaggerParseResultswaggerParseResult
-
Constructor Summary
Constructors Constructor Description DereferencerContext(io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult, List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, String rootUri, io.swagger.v3.parser.core.models.ParseOptions parseOptions, String providedBaseUri, Map<String,Reference> referenceSet, Boolean addParametersToEachOperation)
-
Method Summary
-
-
-
Field Detail
-
openApi
protected final io.swagger.v3.oas.models.OpenAPI openApi
-
auths
protected final List<io.swagger.v3.parser.core.models.AuthorizationValue> auths
-
rootUri
protected String rootUri
-
parseOptions
protected final io.swagger.v3.parser.core.models.ParseOptions parseOptions
-
providedBaseUri
protected String providedBaseUri
-
swaggerParseResult
protected io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult
-
addParametersToEachOperation
protected boolean addParametersToEachOperation
-
currentUri
protected String currentUri
-
-
Constructor Detail
-
DereferencerContext
public DereferencerContext(io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult, List<io.swagger.v3.parser.core.models.AuthorizationValue> auths, String rootUri, io.swagger.v3.parser.core.models.ParseOptions parseOptions, String providedBaseUri, Map<String,Reference> referenceSet, Boolean addParametersToEachOperation)
-
-
Method Detail
-
getOpenApi
public io.swagger.v3.oas.models.OpenAPI getOpenApi()
-
getAuths
public List<io.swagger.v3.parser.core.models.AuthorizationValue> getAuths()
-
getRootUri
public String getRootUri()
-
getParseOptions
public io.swagger.v3.parser.core.models.ParseOptions getParseOptions()
-
getProvidedBaseUri
public String getProvidedBaseUri()
-
getSwaggerParseResult
public io.swagger.v3.parser.core.models.SwaggerParseResult getSwaggerParseResult()
-
isAddParametersToEachOperation
public boolean isAddParametersToEachOperation()
-
setAddParametersToEachOperation
public void setAddParametersToEachOperation(boolean addParametersToEachOperation)
-
getCurrentUri
public String getCurrentUri()
-
setCurrentUri
public void setCurrentUri(String currentUri)
-
providedBaseUri
public DereferencerContext providedBaseUri(String providedBaseUri)
-
swaggerParseResult
public DereferencerContext swaggerParseResult(io.swagger.v3.parser.core.models.SwaggerParseResult swaggerParseResult)
-
addParametersToEachOperation
public DereferencerContext addParametersToEachOperation(boolean addParametersToEachOperation)
-
currentUri
public DereferencerContext currentUri(String currentUri)
-
referenceSet
public DereferencerContext referenceSet(Map<String,Reference> referenceSet)
-
idsCache
public DereferencerContext idsCache(Map<String,String> idsCache)
-
rootUri
public DereferencerContext rootUri(String rootUri)
-
-