Class GeneratorUtils

java.lang.Object
io.micronaut.openapi.visitor.GeneratorUtils

@Internal public final class GeneratorUtils extends Object
OpenAPI Generator utilities methods.
Since:
4.12.4
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public 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)
    • 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)