plugin

package
v0.0.0-...-2046977 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(spec *openapi.Spec, rmTypePrefix string) (map[string][]byte, error)

Generate produces a map of file name to generated TypeScript content for the provided OpenAPI spec. The output layout is:

transport.ts              # shared ClientTransport and transports
type.ts                   # all generated type aliases
<ServiceName>.ts          # one file per first path segment
index.ts                  # re-exports services, types and transport

Types

This section is empty.

Jump to

Keyboard shortcuts

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