Class SchemaUtils
java.lang.Object
com.github.chhorz.openapi.common.util.SchemaUtils
-
Constructor Summary
ConstructorDescriptionSchemaUtils
(Elements elements, Types types, ParserProperties parserProperties, LogUtils logUtils) SchemaUtils
(Elements elements, Types types, ParserProperties parserProperties, LogUtils logUtils, List<Class<?>> baseClasses) -
Method Summary
Modifier and TypeMethodDescriptioncreateMediaType
(TypeMirror typeMirror) createSchemasFromDocComment
(com.github.chhorz.javadoc.JavaDoc javaDoc) createStringSchemaMap
(TypeMirror typeMirror) createTypeMirrorSchemaMap
(TypeMirror typeMirror) getSchemaForTypeMirror
(TypeMirror typeMirror) boolean
isVoidType
(TypeMirror typeMirror) static Schema
mergeSchemas
(Schema one, Schema two) parsePackages
(List<String> packages)
-
Constructor Details
-
SchemaUtils
public SchemaUtils(Elements elements, Types types, ParserProperties parserProperties, LogUtils logUtils) -
SchemaUtils
-
-
Method Details
-
parsePackages
-
createMediaType
-
getSchemaForTypeMirror
-
createStringSchemaMap
-
createTypeMirrorSchemaMap
-
isVoidType
-
createSchemasFromDocComment
public Map<TypeMirror,Schema> createSchemasFromDocComment(com.github.chhorz.javadoc.JavaDoc javaDoc) -
mergeSchemas
-