Class Utils

java.lang.Object
io.micronaut.openapi.generator.Utils

public final class Utils extends Object
Utilities methods to generators.
Since:
5.2.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addStrValueToEnum(org.openapitools.codegen.CodegenModel model)
     
    static void
    processGenericAnnotations(String dataType, String dataTypeWithEnum, boolean isMap, String containerType, org.openapitools.codegen.CodegenProperty itemsProp, Map<String,Object> ext, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
     
    static void
    processGenericAnnotations(org.openapitools.codegen.CodegenParameter parameter, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
     
    static void
    processGenericAnnotations(org.openapitools.codegen.CodegenProperty property, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • processGenericAnnotations

      public static void processGenericAnnotations(org.openapitools.codegen.CodegenParameter parameter, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
    • processGenericAnnotations

      public static void processGenericAnnotations(org.openapitools.codegen.CodegenProperty property, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
    • processGenericAnnotations

      public static void processGenericAnnotations(String dataType, String dataTypeWithEnum, boolean isMap, String containerType, org.openapitools.codegen.CodegenProperty itemsProp, Map<String,Object> ext, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
    • addStrValueToEnum

      public static void addStrValueToEnum(org.openapitools.codegen.CodegenModel model)