Class ComponentsWriter

java.lang.Object
io.smallrye.openapi.runtime.io.components.ComponentsWriter

public class ComponentsWriter extends Object
Writing the Components to json node
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • Method Details

    • writeComponents

      public static void writeComponents(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.Components components)
      Writes a Components to the JSON tree.
      Parameters:
      parent - the parent json node
      components - the components model