Class HeaderReader

    • Method Detail

      • readHeaders

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

        public static Map<String,​org.eclipse.microprofile.openapi.models.headers.Header> readHeaders​(com.fasterxml.jackson.databind.JsonNode node)
        Reads the Header OpenAPI nodes.
        Parameters:
        node - the json node
        Returns:
        Map of Header models