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
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-