Class SecuritySchemeReader

java.lang.Object
io.smallrye.openapi.runtime.io.securityscheme.SecuritySchemeReader

public class SecuritySchemeReader extends Object
Reading the Security Scheme annotation
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • Method Details

    • readSecuritySchemes

      public static Map<String,org.eclipse.microprofile.openapi.models.security.SecurityScheme> readSecuritySchemes(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
      Reads a map of SecurityScheme annotations.
      Parameters:
      context - scanning context
      annotationValue - Map of @SecurityScheme annotations
      Returns:
      Map of SecurityScheme models
    • readSecuritySchemes

      public static Map<String,org.eclipse.microprofile.openapi.models.security.SecurityScheme> readSecuritySchemes(com.fasterxml.jackson.databind.JsonNode node)
      Reads the SecurityScheme OpenAPI nodes.
      Parameters:
      node - map of json objects
      Returns:
      Map of SecurityScheme models
    • readSecurityScheme

      public static org.eclipse.microprofile.openapi.models.security.SecurityScheme readSecurityScheme(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance)
      Reads a SecurityScheme annotation into a model.
      Parameters:
      context - scanning context
      annotationInstance - the @SecurityScheme annotation
      Returns:
      SecurityScheme model
    • getSecuritySchemeAnnotations

      public static List<org.jboss.jandex.AnnotationInstance> getSecuritySchemeAnnotations(AnnotationScannerContext context, org.jboss.jandex.AnnotationTarget target)
    • getSecuritySchemeName

      public static String getSecuritySchemeName(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotation)