Package io.micronaut.openapi.visitor
Class GeneratorUtils
java.lang.Object
io.micronaut.openapi.visitor.GeneratorUtils
OpenAPI Generator utilities methods.
- Since:
- 4.12.4
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addEnumExtensions
(io.micronaut.inject.ast.EnumElement enumEl, io.swagger.v3.oas.models.media.Schema<?> schema, io.micronaut.inject.visitor.VisitorContext context) static void
addOperationDeprecatedExtension
(io.micronaut.inject.ast.MethodElement el, io.swagger.v3.oas.models.Operation operation, io.micronaut.inject.visitor.VisitorContext context) static void
addParameterDeprecatedExtension
(io.micronaut.inject.ast.TypedElement el, io.swagger.v3.oas.models.parameters.Parameter parameter, io.micronaut.inject.visitor.VisitorContext context) static void
addSchemaDeprecatedExtension
(io.micronaut.inject.ast.Element el, io.swagger.v3.oas.models.media.Schema<?> schema, io.micronaut.inject.visitor.VisitorContext context) static void
addValidationMessages
(io.micronaut.inject.ast.Element el, io.swagger.v3.oas.models.media.Schema<?> schema, Map<String, String> messages, io.micronaut.inject.visitor.VisitorContext context)
-
Method Details
-
addSchemaDeprecatedExtension
public static void addSchemaDeprecatedExtension(io.micronaut.inject.ast.Element el, io.swagger.v3.oas.models.media.Schema<?> schema, io.micronaut.inject.visitor.VisitorContext context) -
addParameterDeprecatedExtension
public static void addParameterDeprecatedExtension(io.micronaut.inject.ast.TypedElement el, io.swagger.v3.oas.models.parameters.Parameter parameter, io.micronaut.inject.visitor.VisitorContext context) -
addOperationDeprecatedExtension
public static void addOperationDeprecatedExtension(io.micronaut.inject.ast.MethodElement el, io.swagger.v3.oas.models.Operation operation, io.micronaut.inject.visitor.VisitorContext context) -
addValidationMessages
-
addEnumExtensions
public static void addEnumExtensions(io.micronaut.inject.ast.EnumElement enumEl, io.swagger.v3.oas.models.media.Schema<?> schema, io.micronaut.inject.visitor.VisitorContext context)
-