Class ExampleWriter
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.example.ExampleWriter
-
public class ExampleWriter extends Object
Writing the Example to json- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
- exampleObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwriteExamples(com.fasterxml.jackson.databind.node.ObjectNode parent, Map<String,org.eclipse.microprofile.openapi.models.examples.Example> examples)Writes a map ofExampleto the JSON tree.
-