generate

command
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command generate reads openapi.json and emits the generated parts of the SDK: resources_gen.go (the resource surface), endpoints_gen_test.go (one test per operation), and the README's API reference section.

Run from the repository root: go run ./scripts/generate

Shared spec model for the generator: parses openapi.json into resource groups with the final SDK method names and signatures.

Jump to

Keyboard shortcuts

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