Class LicenseWriter
java.lang.Object
io.smallrye.openapi.runtime.io.license.LicenseWriter
This writes the License to json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteLicense(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.info.License model) Writes theLicensemodel to the JSON tree.
-
Method Details
-
writeLicense
public static void writeLicense(com.fasterxml.jackson.databind.node.ObjectNode parent, org.eclipse.microprofile.openapi.models.info.License model) Writes theLicensemodel to the JSON tree.- Parameters:
parent- the parent json nodemodel- the License model
-