public class SpringDocUtils extends Object
Modifier and Type | Method and Description |
---|---|
SpringDocUtils |
addAnnotationsToIgnore(Class<?>... classes)
Add annotations to ignore spring doc utils.
|
SpringDocUtils |
addDeprecatedType(Class<? extends Annotation> cls)
Add deprecated type spring doc utils.
|
SpringDocUtils |
addFileType(Class<?>... classes)
Add file type spring doc utils.
|
SpringDocUtils |
addFluxWrapperToIgnore(Class<?> cls)
Add flux wrapper to ignore spring doc utils.
|
SpringDocUtils |
addHiddenRestControllers(Class<?>... classes)
Add hidden rest controllers spring doc utils.
|
SpringDocUtils |
addHiddenRestControllers(String... classes)
Add hidden rest controllers spring doc utils.
|
SpringDocUtils |
addJavaTypeToIgnore(Class<?> clazz)
Add java type to ignore spring doc utils.
|
SpringDocUtils |
addRequestWrapperToIgnore(Class<?>... classes)
Add request wrapper to ignore spring doc utils.
|
SpringDocUtils |
addResponseTypeToIgnore(Class<?> cls)
Add response type to ignore spring doc utils.
|
SpringDocUtils |
addResponseWrapperToIgnore(Class<?> cls)
Add response wrapper to ignore spring doc utils.
|
SpringDocUtils |
addRestControllers(Class<?>... classes)
Add rest controllers spring doc utils.
|
SpringDocUtils |
addSimpleTypePredicateForParameterObject(Predicate<Class<?>> predicate)
Add simple type predicate for parameter object spring doc utils.
|
SpringDocUtils |
addSimpleTypesForParameterObject(Class<?>... classes)
Add simple types for parameter object spring doc utils.
|
SpringDocUtils |
disableReplacement(Class source)
Disable replacement spring doc utils.
|
static SpringDocUtils |
getConfig()
Gets config.
|
static boolean |
isValidPath(String path)
Is valid path boolean.
|
SpringDocUtils |
removeAnnotationsToIgnore(Class<?>... classes)
Remove annotations to ignore spring doc utils.
|
SpringDocUtils |
removeFluxWrapperToIgnore(Class<?> cls)
Remove flux wrapper to ignore spring doc utils.
|
SpringDocUtils |
removeFromSchemaClass(Class<?> clazzs)
Remove from schema class spring doc utils.
|
SpringDocUtils |
removeFromSchemaMap(Class<?> clazzs)
Remove from schema map spring doc utils.
|
SpringDocUtils |
removeJavaTypeToIgnore(Class<?> clazz)
Remove java type to ignore spring doc utils.
|
SpringDocUtils |
removeRequestWrapperToIgnore(Class<?>... classes)
Remove request wrapper to ignore spring doc utils.
|
SpringDocUtils |
removeResponseTypeToIgnore(Class<?> cls)
Remove response type to ignore spring doc utils.
|
SpringDocUtils |
removeResponseWrapperToIgnore(Class<?> cls)
Remove response wrapper to ignore spring doc utils.
|
SpringDocUtils |
removeSimpleTypesForParameterObject(Class<?>... classes)
Remove simple types for parameter object spring doc utils.
|
SpringDocUtils |
replaceParameterObjectWithClass(Class source,
Class target)
Replace the ParameterObject with the target class.
|
SpringDocUtils |
replaceWithClass(Class source,
Class target)
Replace with class spring doc utils.
|
SpringDocUtils |
replaceWithSchema(Class source,
io.swagger.v3.oas.models.media.Schema target)
Replace with schema spring doc utils.
|
SpringDocUtils |
setModelAndViewClass(Class<?> clazz)
Sets model and view class.
|
SpringDocUtils |
setResponseEntityExceptionHandlerClass(Class<?> clazz)
Sets response entity exception handler class.
|
public static SpringDocUtils getConfig()
public SpringDocUtils addDeprecatedType(Class<? extends Annotation> cls)
cls
- the clspublic SpringDocUtils addRestControllers(Class<?>... classes)
classes
- the classespublic SpringDocUtils addHiddenRestControllers(Class<?>... classes)
classes
- the classespublic SpringDocUtils addHiddenRestControllers(String... classes)
classes
- the classespublic SpringDocUtils replaceWithClass(Class source, Class target)
source
- the sourcetarget
- the targetpublic SpringDocUtils replaceWithSchema(Class source, io.swagger.v3.oas.models.media.Schema target)
source
- the sourcetarget
- the targetpublic SpringDocUtils addRequestWrapperToIgnore(Class<?>... classes)
classes
- the classespublic SpringDocUtils removeRequestWrapperToIgnore(Class<?>... classes)
classes
- the classespublic SpringDocUtils addFileType(Class<?>... classes)
classes
- the classespublic SpringDocUtils addResponseWrapperToIgnore(Class<?> cls)
cls
- the clspublic SpringDocUtils removeResponseWrapperToIgnore(Class<?> cls)
cls
- the clspublic SpringDocUtils addResponseTypeToIgnore(Class<?> cls)
cls
- the clspublic SpringDocUtils removeResponseTypeToIgnore(Class<?> cls)
cls
- the clspublic SpringDocUtils addAnnotationsToIgnore(Class<?>... classes)
classes
- the classespublic SpringDocUtils removeAnnotationsToIgnore(Class<?>... classes)
classes
- the classespublic SpringDocUtils addFluxWrapperToIgnore(Class<?> cls)
cls
- the clspublic SpringDocUtils removeFluxWrapperToIgnore(Class<?> cls)
cls
- the clspublic SpringDocUtils addSimpleTypesForParameterObject(Class<?>... classes)
classes
- the classespublic SpringDocUtils removeSimpleTypesForParameterObject(Class<?>... classes)
classes
- the classespublic SpringDocUtils addSimpleTypePredicateForParameterObject(Predicate<Class<?>> predicate)
predicate
- the predicatepublic SpringDocUtils disableReplacement(Class source)
source
- the sourcepublic SpringDocUtils replaceParameterObjectWithClass(Class source, Class target)
source
- the sourcetarget
- the targetpublic SpringDocUtils setResponseEntityExceptionHandlerClass(Class<?> clazz)
clazz
- the clazzpublic SpringDocUtils setModelAndViewClass(Class<?> clazz)
clazz
- the clazzpublic SpringDocUtils removeFromSchemaMap(Class<?> clazzs)
clazzs
- the clazzspublic SpringDocUtils removeFromSchemaClass(Class<?> clazzs)
clazzs
- the clazzspublic SpringDocUtils addJavaTypeToIgnore(Class<?> clazz)
clazz
- the clazzpublic SpringDocUtils removeJavaTypeToIgnore(Class<?> clazz)
clazz
- the clazzpublic static boolean isValidPath(String path)
path
- the pathCopyright © 2024. All rights reserved.