Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrGenerationFailed ¶
func (*ErrGenerationFailed) Error ¶
func (err *ErrGenerationFailed) Error() string
func (*ErrGenerationFailed) Unwrap ¶
func (err *ErrGenerationFailed) Unwrap() error
type MediaGenerator ¶
type MediaGenerator interface {
GenerateData(ctx context.Context, mediaType *openapi3.MediaType) (Data, error)
}
func New ¶
func New(options Options) MediaGenerator
type UseExamplesEnum ¶
type UseExamplesEnum int
const ( No UseExamplesEnum = iota IfPresent Exclusively )
func (UseExamplesEnum) String ¶
func (enum UseExamplesEnum) String() string
Source Files ¶
- Data.go
- MediaGenerator.go
- Options.go
- arrayGenerationDelegator.go
- arrayLengthGenerator.go
- base64Generator.go
- booleanGenerator.go
- combinedSchemaGenerator.go
- const.go
- coordinatingMediaGenerator.go
- coordinatingSchemaGenerator.go
- errorSuppressor.go
- errors.go
- exampleSchemaGenerator.go
- formattedStringGenerators.go
- freeFormGenerator.go
- hashMapGenerator.go
- htmlGenerator.go
- integerGenerator.go
- keyGenerator.go
- nullGenerator.go
- numberGenerator.go
- objectGenerationDelegator.go
- objectGenerator.go
- oneOfGenerator.go
- randomGenerator.go
- rangedTextGenerator.go
- recursionBreaker.go
- recursiveGenerator.go
- regularArrayGenerator.go
- schemaGenerator.go
- schemaMerger.go
- stringGenerator.go
- textGenerator.go
- uniqueArrayGenerator.go
- uniqueValueGenerator.go
Click to show internal directories.
Click to hide internal directories.