Class DependentRequiredRetentionPolicyAnnotationTransformer
java.lang.Object
io.micronaut.openapi.annotation.transformers.DependentRequiredRetentionPolicyAnnotationTransformer
- All Implemented Interfaces:
 io.micronaut.inject.annotation.AnnotationTransformer<io.swagger.v3.oas.annotations.media.DependentRequired>,io.micronaut.inject.annotation.TypedAnnotationTransformer<io.swagger.v3.oas.annotations.media.DependentRequired>
Changes the Retention Policy of the annotation to SOURCE.
- Since:
 - 6.7.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionChanges the Retention Policy of the annotation to SOURCE. - 
Method Summary
Modifier and TypeMethodDescriptionClass<io.swagger.v3.oas.annotations.media.DependentRequired>List<io.micronaut.core.annotation.AnnotationValue<?>>transform(io.micronaut.core.annotation.AnnotationValue<io.swagger.v3.oas.annotations.media.DependentRequired> annotation, io.micronaut.inject.visitor.VisitorContext context)  
- 
Constructor Details
- 
DependentRequiredRetentionPolicyAnnotationTransformer
public DependentRequiredRetentionPolicyAnnotationTransformer()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.media.DependentRequired> annotation, io.micronaut.inject.visitor.VisitorContext context) - Specified by:
 transformin interfaceio.micronaut.inject.annotation.AnnotationTransformer<T extends Annotation>
 - 
annotationType
- Specified by:
 annotationTypein interfaceio.micronaut.inject.annotation.TypedAnnotationTransformer<T extends Annotation>
 
 -