Package io.micronaut.openapi.generator
Class Utils
java.lang.Object
io.micronaut.openapi.generator.Utils
Utilities methods to generators.
- Since:
- 5.2.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddStrValueToEnum(org.openapitools.codegen.CodegenModel model) static voidprocessGenericAnnotations(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 voidprocessGenericAnnotations(org.openapitools.codegen.CodegenParameter parameter, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix) static voidprocessGenericAnnotations(org.openapitools.codegen.CodegenProperty property, boolean useBeanValidation, boolean isGenerateHardNullable, boolean isNullable, boolean isRequired, boolean isReadonly, boolean withNullablePostfix)
-
Field Details
-
DEFAULT_BODY_PARAM_NAME
- See Also:
-
-
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)
-