Class OpenApiDocGeneratorBase
java.lang.Object
org.apache.clusterbr.zupportl5.processor.OpenApiDocGeneratorBase
- Direct Known Subclasses:
HtmlSwaggerDocGenerator,OpenApiJsonDocGenerator
UML Diagrams:


- Since:
- 2024-1108
- Author:
- arcbrth@gmail.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClassesInPackage(String packageName) protected StringgetHttpVerbFromMethod(Method method) protected StringgetPathFromMethod(Method method) protected booleanprotected StringloadTemplate(String templatePath) protected StringremoveTrailingSlash(String endpoint)
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
OpenApiDocGeneratorBase
public OpenApiDocGeneratorBase()
-
-
Method Details
-
getClassesInPackage
protected List<Class<?>> getClassesInPackage(String packageName) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
isHttpMethodAnnotatedWithHttpVerb
-
getHttpVerbFromMethod
-
getPathFromMethod
-
loadTemplate
- Throws:
IOException
-
removeTrailingSlash
-