Class OpenApiAnnotation

java.lang.Object
org.apache.juneau.oapi.annotation.OpenApiAnnotation

public class OpenApiAnnotation extends Object
Utility classes and methods for the @OpenApi annotation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • create

      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • create

      public static OpenApiAnnotation.Builder create(Class<?>... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • create

      public static OpenApiAnnotation.Builder create(String... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • copy

      public static OpenApi copy(OpenApi a, VarResolverSession r)
      Creates a copy of the specified annotation.
      Parameters:
      a - The annotation to copy.s
      r - The var resolver for resolving any variables.
      Returns:
      A copy of the specified annotation.