Class ParserProperties
java.lang.Object
com.github.chhorz.openapi.common.properties.domain.ParserProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
<T extends AbstractPostProcessorProperties>
Optional<T>getPostProcessor
(String key, Class<T> clazz) boolean
boolean
void
setEnabled
(boolean enabled) void
setIncludeGetters
(boolean includeGetters) void
setLogLevel
(String logLevel) void
setOutputDir
(String outputDir) void
setOutputFile
(String outputFile) void
setOutputFormat
(String outputFormat) void
setPostProcessor
(Map<String, LinkedHashMap> postProcessor) void
setSchemaDir
(String schemaDir) void
setSchemaFile
(String schemaFile) void
setSchemaPackages
(List<String> schemaPackages)
-
Constructor Details
-
ParserProperties
public ParserProperties()
-
-
Method Details
-
getEnabled
public boolean getEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getLogLevel
-
setLogLevel
-
getIncludeGetters
public boolean getIncludeGetters() -
setIncludeGetters
public void setIncludeGetters(boolean includeGetters) -
getOutputDir
-
setOutputDir
-
getOutputFile
-
setOutputFile
-
getOutputFormat
-
setOutputFormat
-
hasJsonOutputFormat
public boolean hasJsonOutputFormat() -
hasYamlOutputFormat
public boolean hasYamlOutputFormat() -
getSchemaDir
-
setSchemaDir
-
getSchemaFile
-
setSchemaFile
-
getSchemaPackages
-
setSchemaPackages
-
getPostProcessor
-
setPostProcessor
-
getPostProcessor
public <T extends AbstractPostProcessorProperties> Optional<T> getPostProcessor(String key, Class<T> clazz)
-