Package io.swagger.v3.parser.core.models
Class ParseOptions
- java.lang.Object
-
- io.swagger.v3.parser.core.models.ParseOptions
-
public class ParseOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description ParseOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getRemoteRefAllowList()List<String>getRemoteRefBlockList()booleanisAllowEmptyString()booleanisCamelCaseFlattenNaming()booleanisFlatten()booleanisFlattenComposedSchemas()booleanisInferSchemaType()booleanisLegacyYamlDeserialization()if set to true, triggers YAML deserialization as done up to 2.0.30, not supporting YAML Anchors safe resolution.booleanisOaiAuthor()booleanisResolve()booleanisResolveCombinators()booleanisResolveFully()booleanisResolveRequestBody()booleanisSafelyResolveURL()booleanisSkipMatches()booleanisValidateExternalRefs()booleanisValidateInternalRefs()voidsetAllowEmptyString(boolean allowEmptyStrings)voidsetCamelCaseFlattenNaming(boolean camelCaseFlattenNaming)voidsetFlatten(boolean flatten)voidsetFlattenComposedSchemas(boolean flattenComposedSchemas)voidsetInferSchemaType(boolean inferSchemaType)voidsetLegacyYamlDeserialization(boolean legacyYamlDeserialization)voidsetOaiAuthor(boolean oaiAuthor)voidsetRemoteRefAllowList(List<String> remoteRefAllowList)voidsetRemoteRefBlockList(List<String> remoteRefBlockList)voidsetResolve(boolean resolve)voidsetResolveCombinators(boolean resolveCombinators)voidsetResolveFully(boolean resolveFully)voidsetResolveRequestBody(boolean resolveRequestBody)If set to true, will help resolving the requestBody as inline, provided resolve is also set to true.voidsetSafelyResolveURL(boolean safelyResolveURL)voidsetSkipMatches(boolean skipMatches)voidsetValidateExternalRefs(boolean validateExternalRefs)voidsetValidateInternalRefs(boolean validateInternalRefs)
-
-
-
Method Detail
-
isResolve
public boolean isResolve()
-
setResolve
public void setResolve(boolean resolve)
-
isResolveCombinators
public boolean isResolveCombinators()
-
setResolveCombinators
public void setResolveCombinators(boolean resolveCombinators)
-
isResolveFully
public boolean isResolveFully()
-
setResolveFully
public void setResolveFully(boolean resolveFully)
-
isResolveRequestBody
public boolean isResolveRequestBody()
-
setResolveRequestBody
public void setResolveRequestBody(boolean resolveRequestBody)
If set to true, will help resolving the requestBody as inline, provided resolve is also set to true. Default is false because of the existing behaviour.
-
isFlatten
public boolean isFlatten()
-
setFlatten
public void setFlatten(boolean flatten)
-
isSkipMatches
public boolean isSkipMatches()
-
setSkipMatches
public void setSkipMatches(boolean skipMatches)
-
isFlattenComposedSchemas
public boolean isFlattenComposedSchemas()
-
setFlattenComposedSchemas
public void setFlattenComposedSchemas(boolean flattenComposedSchemas)
-
isCamelCaseFlattenNaming
public boolean isCamelCaseFlattenNaming()
-
setCamelCaseFlattenNaming
public void setCamelCaseFlattenNaming(boolean camelCaseFlattenNaming)
-
isAllowEmptyString
public boolean isAllowEmptyString()
-
setAllowEmptyString
public void setAllowEmptyString(boolean allowEmptyStrings)
-
isValidateExternalRefs
public boolean isValidateExternalRefs()
-
setValidateExternalRefs
public void setValidateExternalRefs(boolean validateExternalRefs)
-
isLegacyYamlDeserialization
public boolean isLegacyYamlDeserialization()
if set to true, triggers YAML deserialization as done up to 2.0.30, not supporting YAML Anchors safe resolution.
-
setLegacyYamlDeserialization
public void setLegacyYamlDeserialization(boolean legacyYamlDeserialization)
-
setOaiAuthor
public void setOaiAuthor(boolean oaiAuthor)
-
isOaiAuthor
public boolean isOaiAuthor()
-
setValidateInternalRefs
public void setValidateInternalRefs(boolean validateInternalRefs)
-
isValidateInternalRefs
public boolean isValidateInternalRefs()
-
isInferSchemaType
public boolean isInferSchemaType()
-
setInferSchemaType
public void setInferSchemaType(boolean inferSchemaType)
-
isSafelyResolveURL
public boolean isSafelyResolveURL()
-
setSafelyResolveURL
public void setSafelyResolveURL(boolean safelyResolveURL)
-
-