Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateExamples ¶
func GenerateExamples(entries []*parser.SchemaEntry, schemaNames []string, maxDepth int, seed int64, fieldOverrides map[string]interface{}) (map[string]json.RawMessage, error)
GenerateExamples generates JSON examples for specified schemas
Types ¶
type ExampleContext ¶
type ExampleContext struct {
// contains filtered or unexported fields
}
ExampleContext holds state during example generation
Click to show internal directories.
Click to hide internal directories.