Class LicenseWriter


  • public class LicenseWriter
    extends Object
    This writes the License to json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    licenseObject
    • Method Detail

      • writeLicense

        public static void writeLicense​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                        org.eclipse.microprofile.openapi.models.info.License model)
        Writes the License model to the JSON tree.
        Parameters:
        parent - the parent json node
        model - the License model