codesample

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

Executor orchestrates the sample generation

func NewExecutor

func NewExecutor(document *openapi3.T, templater templater.Templater) *Executor

NewExecutor returns a new constructor

func (*Executor) AddSamples

func (o *Executor) AddSamples(languages []types.Language) error

AddSamples adds all samples to the document

Jump to

Keyboard shortcuts

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