Class SecuritySchemeReader

    • Method Detail

      • 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​(org.jboss.jandex.AnnotationTarget target)
      • getSecuritySchemeName

        public static String getSecuritySchemeName​(org.jboss.jandex.AnnotationInstance annotation)