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 boolean
addParametersToEachOperation
protected List<AuthorizationValue>
auths
protected String
currentUri
protected io.swagger.v3.oas.models.OpenAPI
openApi
protected ParseOptions
parseOptions
protected String
providedBaseUri
protected String
rootUri
protected SwaggerParseResult
swaggerParseResult
-
Constructor Summary
Constructors Constructor Description DereferencerContext(SwaggerParseResult swaggerParseResult, List<AuthorizationValue> auths, String rootUri, ParseOptions parseOptions, String providedBaseUri, Map<String,Reference> referenceSet, Boolean addParametersToEachOperation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DereferencerContext
addParametersToEachOperation(boolean addParametersToEachOperation)
DereferencerContext
currentUri(String currentUri)
List<AuthorizationValue>
getAuths()
String
getCurrentUri()
io.swagger.v3.oas.models.OpenAPI
getOpenApi()
ParseOptions
getParseOptions()
String
getProvidedBaseUri()
Map<String,Reference>
getReferenceSet()
String
getRootUri()
SwaggerParseResult
getSwaggerParseResult()
boolean
isAddParametersToEachOperation()
DereferencerContext
providedBaseUri(String providedBaseUri)
DereferencerContext
referenceSet(Map<String,Reference> referenceSet)
DereferencerContext
rootUri(String rootUri)
void
setAddParametersToEachOperation(boolean addParametersToEachOperation)
void
setCurrentUri(String currentUri)
void
setReferenceSet(Map<String,Reference> referenceSet)
DereferencerContext
swaggerParseResult(SwaggerParseResult swaggerParseResult)
-
-
-
Field Detail
-
openApi
protected final io.swagger.v3.oas.models.OpenAPI openApi
-
auths
protected final List<AuthorizationValue> auths
-
rootUri
protected String rootUri
-
parseOptions
protected final ParseOptions parseOptions
-
providedBaseUri
protected String providedBaseUri
-
swaggerParseResult
protected SwaggerParseResult swaggerParseResult
-
addParametersToEachOperation
protected boolean addParametersToEachOperation
-
currentUri
protected String currentUri
-
-
Constructor Detail
-
DereferencerContext
public DereferencerContext(SwaggerParseResult swaggerParseResult, List<AuthorizationValue> auths, String rootUri, ParseOptions parseOptions, String providedBaseUri, Map<String,Reference> referenceSet, Boolean addParametersToEachOperation)
-
-
Method Detail
-
getOpenApi
public io.swagger.v3.oas.models.OpenAPI getOpenApi()
-
getAuths
public List<AuthorizationValue> getAuths()
-
getRootUri
public String getRootUri()
-
getParseOptions
public ParseOptions getParseOptions()
-
getProvidedBaseUri
public String getProvidedBaseUri()
-
getSwaggerParseResult
public 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(SwaggerParseResult swaggerParseResult)
-
addParametersToEachOperation
public DereferencerContext addParametersToEachOperation(boolean addParametersToEachOperation)
-
currentUri
public DereferencerContext currentUri(String currentUri)
-
referenceSet
public DereferencerContext referenceSet(Map<String,Reference> referenceSet)
-
rootUri
public DereferencerContext rootUri(String rootUri)
-
-