docs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ctx context.Context, opts GenerateOpts) error

Types

type GenerateOpts

type GenerateOpts struct {
	BinaryPath string
	SpecPath   string
	OutputDir  string
	Title      string
	Theme      string
	Publish    bool
	Serve      bool
	ServePort  int
	NoLLM      bool
	NoJSON     bool
	NoHTML     bool
	Logger     *slog.Logger
}

type Server

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

func Serve

func Serve(ctx context.Context, opts GenerateOpts) (*Server, error)

func (*Server) Stop

func (s *Server) Stop() error

func (*Server) URL

func (s *Server) URL() string

func (*Server) Wait

func (s *Server) Wait() error

Jump to

Keyboard shortcuts

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