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.
Click to show internal directories.
Click to hide internal directories.