generator

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder() *Builder

func (*Builder) Generate

func (b *Builder) Generate(ctx context.Context, spec *model.Spec, opts openapi.GeneratorOptions) (*restfile.Document, error)

func (*Builder) Warnings

func (b *Builder) Warnings() []string

type ExampleBuilder

type ExampleBuilder struct {
	// contains filtered or unexported fields
}

func NewExampleBuilder

func NewExampleBuilder() *ExampleBuilder

func (*ExampleBuilder) FromSchema

func (b *ExampleBuilder) FromSchema(ref *model.SchemaRef) (any, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL