Class ExtensionPropertyRetentionPolicyAnnotationTransformer
java.lang.Object
io.micronaut.openapi.annotation.transformers.ExtensionPropertyRetentionPolicyAnnotationTransformer
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationTransformer<io.swagger.v3.oas.annotations.extensions.ExtensionProperty>
,io.micronaut.inject.annotation.TypedAnnotationTransformer<io.swagger.v3.oas.annotations.extensions.ExtensionProperty>
Changes the Retention Policy of the annotation to SOURCE.
- Since:
- 2.1
- Author:
- croudet
-
Constructor Summary
ConstructorDescriptionChanges the Retention Policy of the annotation to SOURCE. -
Method Summary
Modifier and TypeMethodDescriptionClass<io.swagger.v3.oas.annotations.extensions.ExtensionProperty>
List<io.micronaut.core.annotation.AnnotationValue<?>>
transform
(io.micronaut.core.annotation.AnnotationValue<io.swagger.v3.oas.annotations.extensions.ExtensionProperty> annotation, io.micronaut.inject.visitor.VisitorContext context)
-
Constructor Details
-
ExtensionPropertyRetentionPolicyAnnotationTransformer
public ExtensionPropertyRetentionPolicyAnnotationTransformer()Changes the Retention Policy of the annotation to SOURCE.
-
-
Method Details
-
transform
public List<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<io.swagger.v3.oas.annotations.extensions.ExtensionProperty> annotation, io.micronaut.inject.visitor.VisitorContext context) - Specified by:
transform
in interfaceio.micronaut.inject.annotation.AnnotationTransformer<T extends Annotation>
-
annotationType
- Specified by:
annotationType
in interfaceio.micronaut.inject.annotation.TypedAnnotationTransformer<T extends Annotation>
-