Class CallbackReader

    • Method Detail

      • readCallbacks

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

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

        public static org.eclipse.microprofile.openapi.models.callbacks.Callback readCallback​(AnnotationScannerContext context,
                                                                                              org.jboss.jandex.AnnotationInstance annotation)
      • readCallback

        public static org.eclipse.microprofile.openapi.models.callbacks.Callback readCallback​(AnnotationScannerContext context,
                                                                                              org.jboss.jandex.AnnotationInstance annotation,
                                                                                              org.jboss.jandex.MethodInfo methodInfo)
        Reads a Callback annotation into a model.
        Parameters:
        annotation - the @Callback annotation
        context - the scanner context
        methodInfo - the method
        Returns:
        Callback model
      • getCallbackAnnotations

        public static List<org.jboss.jandex.AnnotationInstance> getCallbackAnnotations​(org.jboss.jandex.AnnotationTarget target)
      • getCallbackName

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