Versions in this module Expand all Collapse all v0 v0.16.2 Jun 10, 2024 Changes in this version + const Example + const Examples + const Schema + func ReadDictionary(dictionaryLocation string) []string + type MockGenerator struct + func NewMockGenerator(mockType MockType) *MockGenerator + func NewMockGeneratorWithDictionary(dictionaryLocation string, mockType MockType) *MockGenerator + func (mg *MockGenerator) GenerateMock(mock any, name string) ([]byte, error) + func (mg *MockGenerator) SetPretty() + type MockType int + const JSON + const YAML + type SchemaRenderer struct + func CreateRendererUsingDefaultDictionary() *SchemaRenderer + func CreateRendererUsingDictionary(dictionaryLocation string) *SchemaRenderer + func (wr *SchemaRenderer) DisableRequiredCheck() + func (wr *SchemaRenderer) DiveIntoSchema(schema *base.Schema, key string, structure map[string]any, depth int) + func (wr *SchemaRenderer) PseudoUUID() string + func (wr *SchemaRenderer) RandomFloat64() float64 + func (wr *SchemaRenderer) RandomInt(min, max int64) int64 + func (wr *SchemaRenderer) RandomWord(min, max int64, depth int) string + func (wr *SchemaRenderer) RenderSchema(schema *base.Schema) any