Class DependentRequiredMapRetentionPolicyAnnotationTransformer

java.lang.Object
io.micronaut.openapi.annotation.transformers.DependentRequiredMapRetentionPolicyAnnotationTransformer
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationTransformer<io.swagger.v3.oas.annotations.media.DependentRequiredMap>, io.micronaut.inject.annotation.TypedAnnotationTransformer<io.swagger.v3.oas.annotations.media.DependentRequiredMap>

public class DependentRequiredMapRetentionPolicyAnnotationTransformer extends Object
Changes the Retention Policy of the annotation to SOURCE.
Since:
6.7.0
  • Constructor Details

    • DependentRequiredMapRetentionPolicyAnnotationTransformer

      public DependentRequiredMapRetentionPolicyAnnotationTransformer()
      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.DependentRequiredMap> annotation, io.micronaut.inject.visitor.VisitorContext context)
      Specified by:
      transform in interface io.micronaut.inject.annotation.AnnotationTransformer<T extends Annotation>
    • annotationType

      public Class<io.swagger.v3.oas.annotations.media.DependentRequiredMap> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationTransformer<T extends Annotation>