okapi-gen-typed

command
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Command okapi-gen-typed generates a statically typed Go client from an OpenAPI 3.x spec. Output is two files in the target directory:

types.gen.go    — typed structs for components.schemas
client.gen.go   — typed methods (one per operationId) on a Client struct

Usage:

okapi-gen-typed --source <url|path> --package <name> --out <dir>

The output is self-contained: it depends only on the standard library.

Jump to

Keyboard shortcuts

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