Package io.micronaut.openapi.visitor
Class ProtoUtils
java.lang.Object
io.micronaut.openapi.visitor.ProtoUtils
Protobuf util methods.
- Since:
- 6.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<io.micronaut.inject.ast.PropertyElement>filterProtobufProperties(io.micronaut.inject.ast.ClassElement classElement, List<io.micronaut.inject.ast.PropertyElement> beanProperties) static booleanisProtobufGenerated(io.micronaut.inject.ast.ClassElement type) static booleanisProtobufMessageClass(io.micronaut.inject.ast.ClassElement type) static booleanisProtobufType(io.micronaut.inject.ast.ClassElement type) static StringnormalizePropertyName(String propertyName, io.micronaut.inject.ast.ClassElement classElement, io.micronaut.inject.ast.ClassElement propertyType) static StringnormalizeProtobufClassName(String className) static io.swagger.v3.oas.models.media.SchemaprotobufTypeSchema(io.micronaut.inject.ast.ClassElement type)
-
Constructor Details
-
ProtoUtils
public ProtoUtils()
-
-
Method Details
-
filterProtobufProperties
-
protobufTypeSchema
public static io.swagger.v3.oas.models.media.Schema protobufTypeSchema(io.micronaut.inject.ast.ClassElement type) -
normalizePropertyName
-
normalizeProtobufClassName
-
isProtobufType
public static boolean isProtobufType(io.micronaut.inject.ast.ClassElement type) -
isProtobufGenerated
public static boolean isProtobufGenerated(io.micronaut.inject.ast.ClassElement type) -
isProtobufMessageClass
public static boolean isProtobufMessageClass(io.micronaut.inject.ast.ClassElement type)
-