Class CallbackWriter


  • public class CallbackWriter
    extends Object
    Writing the Callback to json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    callbackObject
    • Method Detail

      • writeCallbacks

        public static void writeCallbacks​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                          Map<String,​org.eclipse.microprofile.openapi.models.callbacks.Callback> callbacks)
        Writes a map of Callback to the JSON tree.
        Parameters:
        parent - the parent node
        callbacks - map of callbacks